/* ============================
   Meridian Advisory Group
   Landing Page Styles — Dark Theme
   ============================ */

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

:root {
  --navy: #0f2744;
  --blue: #5b9bd5;
  --gold: #c9a84c;
  --light: #141e2e;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(255,255,255,0.1);
  --green: #4ade80;
}

body {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #0d1520;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h2 {
  font-size: 2rem;
  color: #f0f4ff;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo span {
  font-weight: normal;
  color: var(--gold);
  margin-left: 4px;
}

/* Nav logo image */
.logo img { height: 36px; width: auto; display: block; }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  font-family: sans-serif;
}

.nav-cta:hover { background: #b8973f; text-decoration: none; }

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: rgba(255,255,255,0.75);
  font-family: sans-serif;
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.2s;
}

.nav-link:hover { color: #fff; text-decoration: none; }

@media(max-width:640px){ .nav-link { display: none; } }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1930 100%);
  color: #fff;
  padding: 80px 0 80px;
  text-align: center;
}

/* Hero logo — prominent and centered */
.hero-logo-main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}

.hero-logo-main img {
  height: 140px;
  width: auto;
  max-width: 520px;
  filter: drop-shadow(0 4px 24px rgba(201, 168, 76, 0.3));
}

/* Hero brand name (legacy, kept for compat) */
.hero-brand-name {
  font-family: sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: sans-serif;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  font-family: sans-serif;
  transition: background 0.2s;
}

.btn-primary:hover { background: #b8973f; text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  border-radius: 5px;
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 1rem;
  font-family: sans-serif;
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: #fff; text-decoration: none; }

/* TRUST STRIP */
.trust-strip {
  background: #111827;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.trust-inner {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-family: sans-serif;
  color: var(--muted);
}

/* SERVICES / PRICING */
.services {
  padding: 80px 0;
  text-align: center;
  background: #0d1520;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: left;
  position: relative;
  background: #1a2535;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

.card-featured {
  border-color: var(--blue);
  border-width: 2px;
  box-shadow: 0 4px 24px rgba(91, 155, 213, 0.15);
}

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-family: sans-serif;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 12px;
  white-space: nowrap;
}

.card-label {
  font-family: sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-price {
  font-size: 2.4rem;
  font-weight: bold;
  color: #f0f4ff;
  margin-bottom: 4px;
}

/* Pricing with sale display */
.card-price .price-original { font-size: 1rem; color: var(--muted); text-decoration: line-through; font-weight: 400; display: inline; margin-right: 6px; }
.card-price .price-sale { font-size: 2.2rem; font-weight: 800; color: var(--gold); display: inline; }
.card-featured .card-price .price-original { color: rgba(255,255,255,0.4); }
.card-featured .card-price .price-sale { color: #f0c040; }

.card-time {
  font-family: sans-serif;
  font-size: 0.875rem;
  color: var(--green);
  margin-bottom: 20px;
}

.card ul {
  list-style: none;
  margin-bottom: 16px;
}

.card ul li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

.card-use {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  font-family: sans-serif;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.btn-card {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 5px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.25);
  color: #f0f4ff;
  transition: all 0.2s;
}

.btn-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); text-decoration: none; }

.btn-card-featured {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-card-featured:hover { background: #4a85bf; border-color: #4a85bf; }

/* SAMPLE */
.sample {
  background: #111827;
  padding: 80px 0;
}

.sample-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #1a2535;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.sample-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: sans-serif;
  font-size: 0.875rem;
}

.sample-content { padding: 0; }

.sample-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.sample-section:last-child { border-bottom: none; }

.sample-section h4 {
  font-family: sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}

.sample-section p { font-size: 0.95rem; }

.green { color: var(--green); font-weight: bold; }

.sample-redacted {
  background: #141e2e;
}

.sample-redacted h4 span {
  font-size: 0.7rem;
  color: var(--blue);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

.redacted-text {
  color: #141e2e;
  background: #141e2e;
  border-radius: 3px;
  font-size: 0.8rem;
  user-select: none;
}

/* HOW IT WORKS (kept for compat; section removed from HTML) */
.how {
  padding: 80px 0;
  text-align: center;
  background: #0d1520;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.step { text-align: center; padding: 24px; }

.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 8px; color: #e2e8f0; }
.step p { color: var(--muted); font-size: 0.95rem; font-family: sans-serif; }

/* TESTIMONIALS */
.testimonials {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.testimonials h2 { color: #fff; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testi {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: left;
}

.testi p { font-size: 1rem; line-height: 1.7; margin-bottom: 16px; color: rgba(255,255,255,0.9); }
.testi span { font-size: 0.85rem; color: var(--gold); font-family: sans-serif; }

.testi-placeholder { opacity: 0.5; }

/* ORDER FORM */
.order {
  padding: 80px 0;
  background: #111827;
}

.order-form {
  max-width: 680px;
  margin: 0 auto;
  background: #1a2535;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

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

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

.form-group label {
  display: block;
  font-family: sans-serif;
  font-size: 0.875rem;
  font-weight: bold;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.95rem;
  font-family: sans-serif;
  color: var(--text);
  background: #0d1520;
  transition: border-color 0.2s;
}

.form-group select option {
  background: #1a2535;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.15);
}

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px;
  border-radius: 5px;
  font-size: 1.05rem;
  font-family: sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.btn-submit:hover { background: #b8973f; }

.form-note {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
}

/* FAQ */
.faq {
  padding: 80px 0;
  max-width: 780px;
  margin: 0 auto;
  background: #0d1520;
}

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

.faq h2 { text-align: center; margin-bottom: 40px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h4 {
  font-size: 1rem;
  color: #e2e8f0;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--muted);
  font-family: sans-serif;
}

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: sans-serif;
  font-size: 0.875rem;
}

.footer-brand strong { color: #fff; font-size: 1rem; }

.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: sans-serif;
  font-size: 0.875rem;
}

.footer-links a { color: var(--gold); }
.footer-links span { color: rgba(255,255,255,0.3); }

.footer-legal {
  max-width: 700px;
  font-size: 0.78rem;
  font-family: sans-serif;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

/* ABOUT STRIP */
.about-strip {
  padding: 80px 0;
  background: #141e2e;
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text h2 { margin-bottom: 12px; }
.about-text p { font-size: 0.95rem; color: var(--muted); font-family: sans-serif; margin-bottom: 16px; line-height: 1.7; }
.about-text .section-sub { margin-bottom: 20px; }

.about-creds {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.cred-item { display: flex; gap: 16px; align-items: flex-start; }
.cred-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.cred-item h4 { font-size: 0.95rem; font-weight: 700; color: #e2e8f0; margin-bottom: 4px; }
.cred-item p { font-size: 0.875rem; color: var(--muted); font-family: sans-serif; line-height: 1.5; }

@media(max-width:768px){ .about-inner { grid-template-columns: 1fr; gap: 32px; } }

/* FOR BROKERS */
.brokers {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d1a2a, #111827);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.brokers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.brokers-text h2 { margin-bottom: 16px; }
.brokers-text p { font-size: 0.95rem; color: var(--muted); font-family: sans-serif; margin-bottom: 16px; line-height: 1.7; }

.broker-list {
  list-style: none;
  margin-bottom: 24px;
}

.broker-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
  color: #cbd5e1;
  font-family: sans-serif;
}

.broker-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

.brokers-quote-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.broker-quote {
  background: var(--navy);
  color: #fff;
  padding: 32px;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
}

.broker-quote p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.92);
}

.broker-quote cite {
  font-size: 0.85rem;
  color: var(--gold);
  font-style: normal;
  font-family: sans-serif;
}

.broker-cta-box {
  background: #1a2535;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}

.broker-cta-box p {
  font-family: sans-serif;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 6px;
}

.broker-cta-box p:last-child { margin-bottom: 0; }

@media(max-width:768px){ .brokers-inner { grid-template-columns: 1fr; } }

/* Core Services Section */
.core-services {
  padding: 80px 0;
  background: #111827;
  border-top: 1px solid var(--border);
}

.core-services h2 { text-align: center; }
.core-services .section-sub { text-align: center; }

.core-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.core-card {
  background: #1a2535;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: box-shadow 0.2s;
}

.core-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

.core-icon { font-size: 2rem; display: block; margin-bottom: 12px; }

.core-card h3 { font-size: 1.05rem; color: #e2e8f0; margin-bottom: 10px; }

.core-card p {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: sans-serif;
  line-height: 1.65;
  margin-bottom: 16px;
}

.core-tag {
  display: inline-block;
  font-family: sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 12px;
  padding: 3px 10px;
}

/* Stats bar */
.stats-bar {
  background: #0a193c;
  padding: 40px 0;
  border-top: 3px solid var(--gold);
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media(max-width:600px){
  .stats-bar .container { grid-template-columns: repeat(2,1fr); }
}

/* Guarantee strip */
.guarantee-strip {
  background: #141e2e;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guarantee-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.guarantee-item .g-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.guarantee-item h4 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: #e2e8f0; }
.guarantee-item p { font-size: 0.85rem; color: var(--muted); margin: 0; }

@media(max-width:600px){
  .guarantee-strip .container { grid-template-columns: 1fr; }
}

/* Image strip */
.img-strip { background: #141e2e; padding: 40px 0; }
.img-strip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.img-strip-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }
@media(max-width:600px){ .img-strip-grid { grid-template-columns: 1fr; } }

/* Sale banner */
.sale-banner { background: linear-gradient(90deg,#c8a84b,#e6c96a); color: #1a2a4a; text-align: center; padding: 10px 20px; font-size: 0.95rem; font-weight: 600; }
.sale-banner strong { font-weight: 800; }

/* Hero price */
.hero-price-orig { text-decoration: line-through; color: rgba(255,255,255,0.55); font-size: 0.85em; font-weight: 400; }
.hero-price-sale { color: #f0c040; font-weight: 800; font-size: 1em; }
h1 .hero-price-orig, h1 .hero-price-sale { font-size: 1.1rem; vertical-align: middle; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-logo-main img { height: 90px; }
  .form-row { grid-template-columns: 1fr; }
  .order-form { padding: 24px; }
  .trust-inner { gap: 12px; font-size: 0.8rem; }
  .cards { grid-template-columns: 1fr; }
}
