/**
 * YNDJ Theme — Marketing Pages Shared Styles
 * assets/css/pages/marketing.css
 *
 * Shared CSS for homepage, about, and buy pages.
 * Uses the mk- prefix for all shared components.
 * References --yndj-* tokens from tokens.css (never re-declares them).
 *
 * Page-specific styles live in home.css and about.css.
 */


/* ── 1. Scoped Base Reset ──────────────────────────────────── */
.mk *, .mk *::before, .mk *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mk {
  font-family: var(--yndj-font-body);
  color: var(--yndj-text);
  line-height: 1.65;
  overflow-x: hidden;
}

.mk h1, .mk h2, .mk h3 {
  font-family: var(--yndj-font-display);
}

.mk a {
  text-decoration: none;
}


/* ── 2. Container ──────────────────────────────────────────── */
.mk-container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}


/* ── 3. Hero ───────────────────────────────────────────────── */
.mk-hero {
  background: linear-gradient(160deg, var(--yndj-navy) 0%, var(--yndj-navy-mid) 60%, #1a3a6b 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 176px 5vw 90px;
  position: relative;
  overflow: hidden;
}

.mk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 90% 20%, rgba(201,147,58,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(26,58,107,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.mk-hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--yndj-white);
  margin-bottom: 26px;
  animation: mkFadeUp 0.7s 0.1s ease both;
}

.mk-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--yndj-gold), var(--yndj-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mk-hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
  animation: mkFadeUp 0.7s 0.2s ease both;
}

.mk-hero-sub strong {
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

.mk-hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  animation: mkFadeUp 0.7s 0.3s ease both;
}


/* ── 4. Eyebrow Pill ───────────────────────────────────────── */
.mk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,147,58,0.12);
  border: 1px solid var(--yndj-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yndj-gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: mkFadeUp 0.7s ease both;
}

.mk-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--yndj-gold);
  border-radius: 50%;
  display: inline-block;
}


/* ── 5. Buttons ────────────────────────────────────────────── */
.mk-btn-primary {
  background: var(--yndj-gold);
  color: var(--yndj-white);
  padding: 15px 34px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(201,147,58,0.35);
}

.mk-btn-primary:hover {
  background: var(--yndj-gold-light);
  color: var(--yndj-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,147,58,0.45);
}

.mk-btn-ghost {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.mk-btn-ghost:hover {
  color: var(--yndj-gold-light);
  border-color: var(--yndj-gold-light);
}


/* ── 6. Hero Card (outer shell) ────────────────────────────── */
.mk-hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 18px;
  padding: 38px 34px;
  backdrop-filter: blur(8px);
  animation: mkFadeUp 0.7s 0.15s ease both;
}


/* ── 7. Trust Bar ──────────────────────────────────────────── */
.mk-trust {
  background: var(--yndj-white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 20px 5vw;
}

.mk-trust-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.mk-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--yndj-muted);
  font-weight: 500;
}

.mk-trust-item svg {
  flex-shrink: 0;
}


/* ── 8. Section Primitives ─────────────────────────────────── */
.mk-section {
  padding: 96px 5vw;
}

.mk-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yndj-gold);
  margin-bottom: 12px;
}

.mk-section-title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--yndj-navy);
  margin-bottom: 18px;
}

.mk-section-body {
  font-size: 1.02rem;
  color: var(--yndj-muted);
  max-width: 600px;
  line-height: 1.78;
}


/* ── 9. Problem Section ────────────────────────────────────── */
.mk-problem {
  background: var(--yndj-navy);
}

.mk-problem .mk-section-title {
  color: var(--yndj-white);
}

.mk-problem .mk-section-body {
  color: rgba(255,255,255,0.6);
  max-width: 640px;
  margin-bottom: 56px;
}

.mk-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mk-problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 30px;
  transition: border-color 0.2s;
}

.mk-problem-card:hover {
  border-color: rgba(201,147,58,0.3);
}

.mk-problem-num {
  font-family: var(--yndj-font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--yndj-gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 14px;
}

.mk-problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--yndj-white);
  margin-bottom: 10px;
}

.mk-problem-card p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.68;
}


/* ── 10. Testimonials ──────────────────────────────────────── */
.mk-social {
  background: var(--yndj-white);
}

.mk-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.mk-testimonial {
  background: var(--yndj-cream);
  border-radius: 14px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.mk-testimonial::before {
  content: '\201C';
  font-family: var(--yndj-font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--yndj-gold);
  opacity: 0.15;
  position: absolute;
  top: 6px;
  left: 18px;
  pointer-events: none;
}

.mk-stars {
  color: var(--yndj-gold);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.mk-testimonial-text {
  font-size: 0.91rem;
  color: var(--yndj-text);
  line-height: 1.72;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.mk-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mk-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yndj-navy), #1a3a6b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--yndj-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--yndj-gold-light);
  flex-shrink: 0;
}

.mk-author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--yndj-navy);
}

.mk-author-role {
  font-size: 0.78rem;
  color: var(--yndj-muted);
}


/* ── 11. Guarantee ─────────────────────────────────────────── */
.mk-guarantee {
  background: var(--yndj-navy);
  padding: 80px 5vw;
}

.mk-guarantee-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
}

.mk-guarantee-badge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--yndj-gold);
  background: rgba(201,147,58,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
}

.mk-guarantee-badge-top {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yndj-gold);
}

.mk-guarantee-badge-big {
  font-family: var(--yndj-font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yndj-white);
  line-height: 1.1;
}

.mk-guarantee-badge-btm {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yndj-gold);
}

.mk-guarantee-text h3 {
  font-family: var(--yndj-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yndj-white);
  margin-bottom: 12px;
}

.mk-guarantee-text p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
}


/* ── 12. CTA Section ───────────────────────────────────────── */
.mk-cta {
  background: linear-gradient(145deg, #0d1f3c 0%, #1a3a6b 100%);
  padding: 100px 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mk-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(201,147,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.mk-cta .mk-section-title {
  color: var(--yndj-white);
  margin-bottom: 14px;
}

.mk-cta .mk-section-body {
  color: rgba(255,255,255,0.6);
  margin: 0 auto 48px;
  text-align: center;
}

.mk-cta-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 20px;
  padding: 52px 48px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mk-cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yndj-gold);
  margin-bottom: 10px;
}

.mk-cta-price {
  font-family: var(--yndj-font-display);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--yndj-white);
  line-height: 1;
  margin-bottom: 4px;
}

.mk-cta-price sup {
  font-size: 2rem;
  vertical-align: super;
}

.mk-cta-access {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
}

.mk-cta-features {
  text-align: left;
  margin-bottom: 34px;
}

.mk-cta-feat {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 11px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
}

.mk-cta .mk-btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 17px;
}

.mk-cta-fine {
  margin-top: 18px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
}


/* ── 13. Check Icon ────────────────────────────────────────── */
.mk-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(201,147,58,0.2);
  border: 1px solid var(--yndj-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mk-check svg {
  display: block;
}


/* ── 14. Animation ─────────────────────────────────────────── */
@keyframes mkFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── 15. Shared Responsive ─────────────────────────────────── */
@media (max-width: 960px) {
  .mk-hero-card { display: none; }
  .mk-problem-grid { grid-template-columns: 1fr; }
  .mk-testimonial-grid { grid-template-columns: 1fr; }
  .mk-guarantee-inner { flex-direction: column; text-align: center; gap: 28px; }
  .mk-cta-box { padding: 36px 24px; }
}

@media (max-width: 560px) {
  .mk-hero { padding: 140px 5vw 70px; }
}
