/* ─── Media Kit Styles ─── */

/* Language Toggle */
.mk-lang-toggle {
  position: fixed;
  top: 80px;
  right: 1.25rem;
  z-index: 900;
  display: flex;
  background: white;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  overflow: hidden;
}
[data-theme="dark"] .mk-lang-toggle {
  background: #1e1e2e;
  border-color: rgba(255,255,255,0.12);
}
.mk-lang-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.15s;
}
.mk-lang-btn.active {
  background: var(--korean-blue);
  color: white;
  border-radius: 50px;
}

/* Hero */
.mk-hero {
  background: linear-gradient(135deg, var(--korean-blue) 0%, #001f4d 50%, #8b0010 100%);
  color: white;
  padding: 140px 2rem 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(205,46,58,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.mk-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.mk-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}
.mk-hero h1 span { color: #ffcc00; }
.mk-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  opacity: 0.75;
  font-weight: 500;
  margin: 0 0 1.25rem;
  letter-spacing: 0.3px;
}
.mk-hero-lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.mk-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--korean-blue);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mk-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }

/* Section base */
.mk-section { padding: 5rem 2rem; }
.mk-section.alt { background: var(--light); }
[data-theme="dark"] .mk-section.alt { background: rgba(255,255,255,0.03); }
.mk-container { max-width: 1080px; margin: 0 auto; }
.mk-section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--korean-red);
  margin-bottom: 0.6rem;
}
.mk-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.mk-section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* Stats grid */
.mk-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.mk-stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .mk-stat-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.mk-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--korean-blue), var(--korean-red));
}
.mk-stat-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,52,120,0.08), rgba(205,46,58,0.06));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.85rem;
  color: var(--korean-blue);
  font-size: 1.15rem;
}
[data-theme="dark"] .mk-stat-icon-wrap { background: rgba(111,163,255,0.12); color: #6fa3ff; }
.mk-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--korean-blue);
  line-height: 1;
  margin-bottom: 0.3rem;
}
[data-theme="dark"] .mk-stat-number { color: #6fa3ff; }
.mk-stat-label { font-size: 0.85rem; color: var(--text-light); font-weight: 500; }
.mk-stat-sub { font-size: 0.75rem; color: var(--text-light); opacity: 0.7; margin-top: 0.25rem; }

/* Platform row */
.mk-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}
.mk-platform {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: white;
  border-radius: 14px;
  padding: 1rem 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  min-width: 0;
}
[data-theme="dark"] .mk-platform { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.mk-platform-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.mk-platform-icon.yt { background: #ff0000; color: white; }
.mk-platform-icon.ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }
.mk-platform-icon.fb { background: #1877f2; color: white; }
.mk-platform-icon.tt  { background: #010101; color: white; }
.mk-platform-icon.web { background: var(--korean-blue); color: white; }
.mk-platform-info { flex: 1; min-width: 0; overflow: hidden; }
.mk-platform-name { font-weight: 700; font-size: 0.85rem; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-platform-handle { font-size: 0.75rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-platform-num { flex-shrink: 0; margin-left: auto; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1rem; color: var(--korean-blue); }
[data-theme="dark"] .mk-platform-num { color: #6fa3ff; }

/* Demographics */
.mk-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 680px) { .mk-demo-grid { grid-template-columns: 1fr; } }
.mk-demo-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}
[data-theme="dark"] .mk-demo-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.mk-demo-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mk-bar-row { margin-bottom: 0.85rem; }
.mk-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.mk-bar-track {
  height: 8px;
  background: rgba(0,0,0,0.07);
  border-radius: 99px;
  overflow: hidden;
}
[data-theme="dark"] .mk-bar-track { background: rgba(255,255,255,0.1); }
.mk-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--korean-blue), var(--korean-red));
}
.mk-tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mk-tag {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  background: rgba(0,52,120,0.07);
  color: var(--korean-blue);
  border: 1px solid rgba(0,52,120,0.15);
}
[data-theme="dark"] .mk-tag { background: rgba(111,163,255,0.1); color: #6fa3ff; border-color: rgba(111,163,255,0.2); }

/* Why advertise */
.mk-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.mk-why-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}
[data-theme="dark"] .mk-why-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.mk-why-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,52,120,0.08), rgba(205,46,58,0.06));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--korean-blue);
  font-size: 1.2rem;
}
[data-theme="dark"] .mk-why-icon-wrap { background: rgba(111,163,255,0.12); color: #6fa3ff; }
.mk-why-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin: 0 0 0.5rem; }
.mk-why-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Rate Card */
.mk-rate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.mk-rate-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1.5px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mk-rate-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.13); }
[data-theme="dark"] .mk-rate-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.mk-rate-card.featured { border-color: var(--korean-blue); box-shadow: 0 4px 24px rgba(0,52,120,0.15); }
.mk-rate-header { padding: 1.5rem 1.75rem 1.25rem; border-bottom: 1px solid rgba(0,0,0,0.07); }
[data-theme="dark"] .mk-rate-header { border-color: rgba(255,255,255,0.08); }
.mk-rate-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: rgba(0,52,120,0.08);
  color: var(--korean-blue);
  margin-bottom: 0.75rem;
}
.mk-rate-card.featured .mk-rate-badge { background: var(--korean-blue); color: white; }
.mk-rate-title { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--text-dark); margin: 0 0 0.3rem; }
.mk-rate-desc { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.5; }
.mk-rate-body { padding: 1.5rem 1.75rem; flex: 1; }
.mk-rate-price { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; color: var(--korean-blue); line-height: 1; margin-bottom: 0.25rem; display: flex; align-items: baseline; gap: 0.2rem; flex-wrap: wrap; }
[data-theme="dark"] .mk-rate-price { color: #6fa3ff; }
.mk-rate-currency { font-size: 1.1rem; font-weight: 600; }
.mk-rate-per { font-size: 0.95rem; font-weight: 400; color: var(--text-light); margin-left: 0.15rem; }
.mk-rate-features { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.mk-rate-features li {
  font-size: 0.88rem;
  color: var(--text-dark);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
[data-theme="dark"] .mk-rate-features li { border-color: rgba(255,255,255,0.06); }
.mk-rate-features li:last-child { border-bottom: none; }
.mk-rate-features li i { color: var(--korean-blue); flex-shrink: 0; margin-top: 0.15rem; font-size: 0.8rem; }
.mk-rate-footer { padding: 0 1.75rem 1.75rem; }
.mk-rate-cta {
  display: block;
  text-align: center;
  background: var(--korean-blue);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.mk-rate-cta:hover { background: var(--korean-red); transform: translateY(-1px); }
.mk-rate-card.featured .mk-rate-cta { background: var(--korean-red); }
.mk-rate-card.featured .mk-rate-cta:hover { background: var(--korean-blue); }

/* Bundle note */
.mk-bundle-note {
  background: linear-gradient(135deg, rgba(0,52,120,0.06), rgba(205,46,58,0.04));
  border: 1.5px solid rgba(0,52,120,0.15);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
}
.mk-bundle-note i { font-size: 1.25rem; color: var(--korean-blue); flex-shrink: 0; margin-top: 0.1rem; }
.mk-bundle-note strong { color: var(--korean-blue); }

/* Ad Placements */
.mk-placements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.mk-placement-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.06);
}
[data-theme="dark"] .mk-placement-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.mk-placement-preview {
  background: var(--light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
[data-theme="dark"] .mk-placement-preview { background: rgba(255,255,255,0.04); }
.mk-ad-mock {
  background: linear-gradient(135deg, rgba(0,52,120,0.12), rgba(205,46,58,0.08));
  border: 1.5px dashed rgba(0,52,120,0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
}
.mk-ad-mock.leaderboard { width: 100%; height: 36px; }
.mk-ad-mock.rectangle { width: 120px; height: 80px; }
.mk-ad-mock.inline { width: 100%; height: 60px; }
.mk-ad-mock.hero-mock { width: 100%; height: 90px; }
.mk-placement-info { padding: 1rem 1.25rem; }
.mk-placement-name { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); }
.mk-placement-size { font-size: 0.78rem; color: var(--text-light); margin-top: 0.15rem; }

/* Partners */
.mk-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.mk-partner-pill {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50px;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
[data-theme="dark"] .mk-partner-pill { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }

/* Contact CTA */
.mk-contact {
  background: linear-gradient(135deg, var(--korean-blue) 0%, #001f4d 60%, #6b0010 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}
.mk-contact h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin: 0 0 1rem; }
.mk-contact p { font-size: 1.05rem; opacity: 0.85; max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7; }
.mk-contact-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.mk-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mk-contact-btn.primary { background: white; color: var(--korean-blue); box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
.mk-contact-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.35); }
.mk-contact-btn.secondary { background: rgba(255,255,255,0.12); color: white; border: 1.5px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.mk-contact-btn.secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.mk-contact-detail { margin-top: 2.5rem; font-size: 0.9rem; opacity: 0.65; display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.mk-contact-detail span { display: flex; align-items: center; gap: 0.4rem; }

/* Password Gate */
#mk-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #003478 0%, #001f4d 50%, #6b0010 100%);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-family: 'Outfit', 'Noto Sans Thai', sans-serif;
}
.mk-gate-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mk-gate-title { color: white; font-size: 1.6rem; font-weight: 800; margin: 0 0 0.5rem; }
.mk-gate-desc { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0 0 2rem; max-width: 340px; line-height: 1.6; }
.mk-gate-desc small { font-size: 0.82rem; opacity: 0.65; }
.mk-gate-form { display: flex; gap: 0.6rem; width: 100%; max-width: 320px; }
#mk-pw-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.95rem;
  outline: none;
  backdrop-filter: blur(8px);
}
#mk-pw-input::placeholder { color: rgba(255,255,255,0.4); }
#mk-unlock-btn {
  padding: 0.7rem 1.25rem;
  border-radius: 50px;
  border: none;
  background: white;
  color: #003478;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
#mk-pw-err { color: #ff8a8a; font-size: 0.82rem; margin: 0.75rem 0 0; display: none; }
.mk-gate-back { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-top: 2.5rem; text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
  .mk-rate-grid { grid-template-columns: 1fr; }
  .mk-placements { grid-template-columns: 1fr 1fr; }
  .mk-lang-toggle { top: auto; bottom: 80px; right: 1.25rem; }
  .mk-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .mk-placements { grid-template-columns: 1fr; }
  .mk-stats-grid { grid-template-columns: 1fr 1fr; }
}
