/*
Theme Name: MKCast Live Studio
Theme URI: https://mkcastvision.com/
Author: MKCast Live
Description: Professional website and Meta compliance pages for MKCast Live streaming software.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: mkcast-live
*/

:root {
  --ink: #050a1e;
  --panel: #0a1433;
  --panel-soft: #102358;
  --line: #293d72;
  --text: #f6f8fc;
  --muted: #aeb9d0;
  --blue: #d71920;
  --cyan: #ff4b50;
  --navy: #071a5c;
  --royal: #2446a7;
  --green: #22c768;
  --red: #e31b23;
  --white: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.site-shell { min-height: 100vh; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(5,10,30,.95);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 23px;
  font-weight: 850;
  text-decoration: none;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: #d7e0ec;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { color: #ff7377; }
.nav-cta {
  border-radius: 6px;
  background: var(--blue);
  padding: 10px 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 68px));
  overflow: hidden;
  background: var(--ink);
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  visibility: hidden;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(3,8,27,.98) 0%, rgba(3,8,27,.91) 38%, rgba(3,8,27,.28) 71%, rgba(3,8,27,.5) 100%),
    linear-gradient(0deg, #050a1e 0%, transparent 27%),
    var(--hero-image) center / cover no-repeat;
  transition: opacity .65s ease, visibility .65s ease;
}
.hero-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
}
.hero-inner {
  display: flex;
  min-height: min(720px, calc(100vh - 68px));
  align-items: center;
  padding: 70px 0 110px;
}
.hero-copy { position: relative; z-index: 2; width: min(620px, 64%); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #ff8b8e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  box-shadow: 0 0 15px rgba(34,199,104,.8);
}
.hero h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}
.hero p {
  max-width: 570px;
  margin: 24px 0 0;
  color: #c3cfdf;
  font-size: 19px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 31px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 850;
  text-decoration: none;
}
.button-primary { background: var(--blue); color: #fff; }
.button-secondary { border-color: #56708f; background: rgba(9,19,33,.78); color: #eaf1fa; }
.button-primary:hover,
.nav-cta:hover { background: #b80f16; }
.carousel-controls {
  position: absolute;
  bottom: 42px;
  left: max(20px, calc((100% - var(--max)) / 2));
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-controls button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(5,10,30,.78);
  color: #fff;
  cursor: pointer;
}
.carousel-arrow,
.carousel-pause {
  width: 34px;
  height: 34px;
  font-weight: 900;
}
.carousel-arrow { font-size: 24px; line-height: 1; }
.carousel-pause { font-size: 10px; }
.carousel-dots { display: flex; gap: 7px; padding: 0 3px; }
.carousel-controls .carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255,255,255,.36);
}
.carousel-controls .carousel-dot.is-active {
  border-color: #ff7377;
  background: var(--red);
}
.carousel-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.hero-status {
  position: absolute;
  right: 32px;
  bottom: 38px;
  display: flex;
  gap: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;
  background: rgba(8,17,30,.82);
  padding: 14px 18px;
  backdrop-filter: blur(12px);
}
.hero-status b, .hero-status span { display: block; }
.hero-status b { font-size: 13px; }
.hero-status span { color: var(--muted); font-size: 11px; }

.trust-band {
  border-block: 1px solid var(--line);
  background: #08112d;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-grid div {
  border-right: 1px solid var(--line);
  padding: 22px;
  text-align: center;
}
.trust-grid div:last-child { border-right: 0; }
.trust-grid b { display: block; font-size: 15px; }
.trust-grid span { color: var(--muted); font-size: 12px; }

.section { padding: 92px 0; }
.section-light { background: #f5f8fc; color: #0a1422; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.section-heading h2 { margin: 8px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.section-heading p { margin: 16px 0 0; color: #53647b; font-size: 17px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  padding: 26px;
}
.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: #eef1fb;
  color: var(--navy);
  font-weight: 950;
}
.feature-card h3 { margin: 18px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: #5c6b80; font-size: 14px; }

.workflow { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.monitor-demo {
  border: 1px solid #334967;
  border-radius: 8px;
  background: #0c1726;
  padding: 12px;
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
}
.monitor-bar { display: flex; justify-content: space-between; padding: 8px 4px 12px; color: #9eabc0; font-size: 11px; font-weight: 800; }
.monitor-frame {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: 5px;
  background: url("assets/images/business-presenter.png") center 18% / cover no-repeat;
}
.lower-demo {
  position: absolute;
  right: 0;
  bottom: 9%;
  left: 0;
  border-left: 4px solid var(--red);
  background: linear-gradient(90deg, rgba(7,26,92,.98), rgba(36,70,167,.88), rgba(215,25,32,.58), transparent);
  padding: 10px 14px;
}
.lower-demo strong, .lower-demo span { display: block; }
.lower-demo span { color: #d9e8ff; font-size: 11px; }
.workflow-copy h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.workflow-copy > p { color: var(--muted); font-size: 17px; }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.check-list i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #133d2b;
  color: #4be58c;
  font-style: normal;
}
.check-list b, .check-list span { display: block; }
.check-list span { color: var(--muted); font-size: 13px; }

.cta-band { border-top: 1px solid var(--line); background: #08132f; padding: 58px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin: 0; font-size: 32px; }
.cta-inner p { margin: 6px 0 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #030716; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer-brand p { max-width: 300px; color: var(--muted); font-size: 13px; }
.footer-col strong { display: block; margin-bottom: 12px; }
.footer-col a { display: block; margin: 8px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 38px; border-top: 1px solid #1d2c40; padding-top: 20px; color: #718096; font-size: 12px; }

.content-page { min-height: 70vh; background: #f5f8fc; color: #101827; padding: 72px 0 96px; }
.content-page article { max-width: 820px; }
.content-page h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.content-page .updated { color: #64748b; font-size: 13px; }
.content-page h2 { margin-top: 38px; font-size: 25px; }
.content-page h3 { margin-top: 28px; }
.content-page p, .content-page li { color: #435168; }
.content-page a { color: #b31219; }
.content-page ul { padding-left: 22px; }

.deletion-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  border: 1px solid #d4deeb;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}
.deletion-form label { display: grid; gap: 6px; color: #334155; font-size: 13px; font-weight: 750; }
.deletion-form input, .deletion-form textarea {
  width: 100%;
  border: 1px solid #bac7d8;
  border-radius: 6px;
  padding: 11px;
}
.deletion-form textarea { min-height: 110px; resize: vertical; }
.form-notice { border-radius: 6px; padding: 10px 12px; background: #e7f8ee; color: #17633a; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-copy { width: 82%; }
  .hero-status { right: 20px; left: 20px; justify-content: space-between; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .hero-slide { background-position: 63% center; }
  .hero-inner { align-items: flex-end; padding-bottom: 150px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-status { gap: 10px; }
  .hero-status div:nth-child(3) { display: none; }
  .carousel-controls { bottom: 104px; }
  .trust-grid, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}
