/* MolComp Home — cinematic, modern, accessible
   Scoped to .mc-home so it won’t affect the rest of Astra.
*/

.mc-skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.mc-skip:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 14px;
  background:#fff; border:1px solid #e5e7eb; border-radius:10px;
  z-index:999999; color:#0f172a;
}

.mc-home{
  --mc-ink:#0f172a;
  --mc-muted:#475569;
  --mc-muted2:#64748b;
  --mc-border: rgba(148,163,184,.35);
  --mc-card: rgba(255,255,255,.86);
  --mc-card-solid:#fff;

  --mc-primary:#06b6d4;
  --mc-primary-600:#0891b2;
  --mc-ring: rgba(6,182,212,.28);

  --mc-dark:#0b1220;
  --mc-dark2:#07101c;

  --mc-radius: 18px;
  --mc-shadow: 0 22px 60px rgba(2,6,23,.18);
  --mc-shadow-soft: 0 10px 30px rgba(2,6,23,.10);

  color: var(--mc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  overflow-x: clip;
}

.mc-wrap{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.mc-kicker{
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: color-mix(in srgb, var(--mc-primary) 70%, var(--mc-muted));
}

.mc-h1{
  margin: 10px 0 10px;
  font-size: clamp(40px, 4.8vw, 70px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 950;
}
.mc-h2{
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 950;
}
.mc-h3{
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.mc-lead{
  margin: 0;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,.86);
}
.mc-lead2{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: color-mix(in srgb, #fff 55%, #94a3b8);
}
.mc-sub{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mc-muted);
}
.mc-note{
  margin: 12px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.6;
}
.mc-accent{
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}

.mc-pill{
  display:inline-flex;
  align-items:center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  font-weight: 850;
  letter-spacing: .02em;
  color: #fff;
}
.mc-dot{
  width:4px;height:4px;border-radius:50%;
  background: rgba(255,255,255,.65);
  margin: 0 10px;
}

/* Buttons */
.mc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.35);
  text-decoration:none;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.mc-btn:focus-visible{
  outline: 2px solid var(--mc-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--mc-ring);
}
.mc-btn:hover{ transform: translateY(-1px); box-shadow: var(--mc-shadow-soft); }
.mc-btn:active{ transform: translateY(0px) scale(.99); box-shadow:none; }

.mc-btn--primary{
  background: linear-gradient(135deg, var(--mc-primary), color-mix(in srgb, var(--mc-primary) 50%, #a78bfa));
  border-color: transparent;
  color: #001018;
  box-shadow: 0 12px 30px rgba(6,182,212,.18);
}
.mc-btn--primary:hover{
  background: linear-gradient(135deg, color-mix(in srgb, var(--mc-primary) 85%, #fff), color-mix(in srgb, #a78bfa 55%, #fff));
}
.mc-btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #fff;
  backdrop-filter: blur(10px);
}

.mc-cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top: 16px;
}

/* Reveal */
.mc-reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
}
.mc-reveal.in{
  opacity: 1;
  transform: none;
}

/* Scrub scaffolding */
.mc-scrub{
  position: relative;
  min-height: var(--scrub-height, 200vh);
  background: #000;
}
.mc-scrub__sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Video base */
.mc-video{
  width:100%;
  height:100%;
  display:block;
}
.mc-video--cover{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
}
.mc-video--card{
  width:100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.24);
  background: linear-gradient(180deg, #0b1220, #0f172a);
}

/* HERO */
.mc-hero{ background: radial-gradient(1200px 600px at 50% 20%, rgba(34,211,238,.22), transparent 65%), #050b14; }
.mc-hero__media{ position:absolute; inset:0; }
.mc-hero__veil{
  position:absolute; inset:0;
  background:
    radial-gradient(700px 400px at 55% 18%, rgba(167,139,250,.18), transparent 62%),
    radial-gradient(900px 500px at 35% 32%, rgba(34,211,238,.22), transparent 64%),
    linear-gradient(180deg, rgba(2,6,23,.12) 0%, rgba(2,6,23,.62) 55%, rgba(2,6,23,.92) 100%);
}
.mc-hero__glow{
  position:absolute; inset:-30%;
  background: radial-gradient(circle at 50% 30%, rgba(6,182,212,.14), transparent 55%);
  filter: blur(18px);
  opacity: .9;
}
.mc-hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content: center;
  gap: 10px;
  padding: 22px 0;
  text-align: left;
}
.mc-eyebrow{ color: rgba(255,255,255,.85); display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.mc-proof{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top: 12px;
}
.mc-proof__item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.88);
  font-weight: 850;
  font-size: 13px;
}
.mc-ic{ filter: saturate(1.1); }

.mc-scroll{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 3;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  opacity:.85;
}
.mc-scroll__label{ color: rgba(255,255,255,.75); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.mc-scroll__dot{
  width: 18px; height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.32);
  position:relative;
}
.mc-scroll__dot::after{
  content:"";
  position:absolute;
  width:4px;height:4px;border-radius:50%;
  left:50%; top:6px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.75);
  animation: mc-bounce 1.15s ease-in-out infinite;
}
@keyframes mc-bounce{
  0%,100%{ transform: translate(-50%,0); opacity:.7; }
  50%{ transform: translate(-50%,10px); opacity:1; }
}

/* PROBLEM / SPLIT */
.mc-problem{
  background: radial-gradient(900px 520px at 50% 50%, rgba(6,182,212,.12), transparent 66%), #050b14;
  --reveal: 50%;
}
.mc-problem__media{
  position:absolute; inset:0;
  overflow:hidden;
}
.mc-problem__pane{
  position:absolute; inset:0;
}
.mc-problem__pane--before{ filter: saturate(.95) contrast(.95) brightness(.85); }
.mc-problem__pane--after{
  clip-path: inset(0 0 0 var(--reveal));
}
.mc-problem__divider{
  position:absolute; top:0; bottom:0;
  left: calc(100% - var(--reveal));
  width: 2px;
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 3px rgba(6,182,212,.14);
}
.mc-problem__label{
  position:absolute;
  top:18px; left:18px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(2,6,23,.35);
  backdrop-filter: blur(10px);
}
.mc-problem__label--good{
  left:auto; right:18px;
  border-color: rgba(6,182,212,.35);
  color: rgba(255,255,255,.92);
}
.mc-problem__content{
  position:relative;
  z-index: 2;
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content: center;
  padding: 22px 0;
  max-width: 740px;
  color: #fff;
}
.mc-bullets{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}
.mc-bullet{
  display:flex; gap:10px; align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  font-weight: 850;
  color: rgba(255,255,255,.88);
}

/* Sections */
.mc-section{
  position: relative;
  padding: 68px 0;
  background: #fff;
}
.mc-section__head{
  display:grid;
  gap: 8px;
  margin-bottom: 18px;
}
.mc-grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Cards */
.mc-card{
  border-radius: var(--mc-radius);
  border: 1px solid rgba(148,163,184,.38);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.86));
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
  padding: 14px;
}
.mc-card__media{ margin-bottom: 10px; }

/* MOSAIC */
.mc-mosaic{
  background: #050b14;
  color: #fff;
  padding: 86px 0;
  overflow:hidden;
}
.mc-mosaic__bg{
  position:absolute; inset:0;
}
.mc-mosaic__veil{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,.45), rgba(2,6,23,.82));
}
.mc-mosaic__content{
  position:relative; z-index:2;
}
.mc-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 14px; }
.mc-chip{
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  font-weight: 850;
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
}

/* Split section */
.mc-split{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:center;
}
.mc-split__media{ min-height: 320px; }
.mc-frame{
  position: relative;
  height: 360px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(148,163,184,.35);
  box-shadow: var(--mc-shadow-soft);
  background: radial-gradient(600px 300px at 40% 20%, rgba(6,182,212,.18), transparent 62%), #0b1220;
}
.mc-video--frame{ position:absolute; inset:0; object-fit:cover; }
.mc-frame__badge{
  position:absolute; left:14px; bottom:14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  font-weight: 900;
  color: rgba(255,255,255,.92);
}

/* Feature list */
.mc-featurelist{ display:grid; gap: 10px; margin-top: 14px; }
.mc-feature{
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(248,250,252,.8);
}
.mc-feature__title{ font-weight: 950; margin-bottom: 4px; }
.mc-feature__desc{ color: var(--mc-muted); line-height: 1.6; }

/* TOOLBELT pinned */
.mc-toolbelt{
  background: #050b14;
  color:#fff;
}
.mc-toolbelt__media{
  position:absolute; inset:0;
}
.mc-toolbelt__veil{
  position:absolute; inset:0;
  background:
    radial-gradient(700px 380px at 70% 24%, rgba(34,211,238,.18), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.18), rgba(2,6,23,.86));
}
.mc-toolbelt__content{
  position:relative; z-index:2;
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content: center;
  padding: 22px 0;
  max-width: 820px;
}
.mc-mini{
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}
.mc-mini__title{ font-weight: 950; margin-bottom: 4px; }
.mc-mini__desc{ color: rgba(255,255,255,.78); line-height: 1.55; font-size: 14px; }

/* Security art (pure CSS) */
.mc-security__art{
  position: relative;
  height: 360px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(148,163,184,.35);
  box-shadow: var(--mc-shadow-soft);
  background: radial-gradient(700px 420px at 40% 20%, rgba(6,182,212,.20), transparent 62%), #0b1220;
}
.mc-security__orb{
  position:absolute; inset:-30%;
  background: radial-gradient(circle at 50% 40%, rgba(34,211,238,.25), transparent 55%);
  filter: blur(10px);
  opacity: .9;
}
.mc-security__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,.95), transparent 70%);
}
.mc-security__badge{
  position:absolute; left:14px; bottom:14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  font-weight: 900;
  color: rgba(255,255,255,.92);
}

/* Testimonials */
.mc-quote{
  border-radius: var(--mc-radius);
  border: 1px solid rgba(148,163,184,.38);
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
.mc-quote blockquote{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mc-ink);
  font-weight: 700;
}
.mc-quote figcaption{
  margin-top: 10px;
  color: var(--mc-muted);
  font-weight: 850;
  font-size: 13px;
}

/* FAQ */
.mc-faq__grid{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}
.mc-faq__item{
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.38);
  background: #fff;
  box-shadow: 0 10px 30px rgba(2,6,23,.05);
  padding: 12px 14px;
}
.mc-faq__item summary{
  cursor:pointer;
  font-weight: 950;
  list-style:none;
}
.mc-faq__item summary::-webkit-details-marker{ display:none; }
.mc-faq__body{
  margin-top: 10px;
  color: var(--mc-muted);
  line-height: 1.6;
}

/* Final CTA */
.mc-final{
  padding: 80px 0;
  background:
    radial-gradient(900px 520px at 50% 10%, rgba(6,182,212,.18), transparent 60%),
    linear-gradient(180deg, #0b1220, #07101c);
  color:#fff;
}
.mc-final__inner{
  text-align:center;
  max-width: 900px;
}
.mc-final .mc-sub{ color: rgba(255,255,255,.78); }

/* Responsiveness */
@media (max-width: 980px){
  .mc-grid-3{ grid-template-columns: 1fr; }
  .mc-split{ grid-template-columns: 1fr; }
  .mc-video--card{ height: 220px; }
  .mc-hero__content{ text-align:left; }
}

@media (prefers-reduced-motion: reduce){
  .mc-reveal{ transition:none; transform:none; }
  .mc-scroll__dot::after{ animation:none; }
  .mc-btn{ transition:none; }
}

/* ======================================================================
   HOME FIXES: full-bleed on large screens + guaranteed contrast on dark
   ====================================================================== */

/* 1) Kill Astra “boxed” container on this template so sections go full-bleed */
body.page-template-page-molcomp-home,
body.page-template-page-molcomp-home-php{
  overflow-x: hidden;
}

/* Astra content container constraints */
body.page-template-page-molcomp-home .site-content .ast-container,
body.page-template-page-molcomp-home-php .site-content .ast-container{
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove default spacing that can create visible gutters/strips */
body.page-template-page-molcomp-home #primary,
body.page-template-page-molcomp-home-php #primary,
body.page-template-page-molcomp-home .entry-content,
body.page-template-page-molcomp-home-php .entry-content{
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Extra safety: if some builder wrapper is still constraining, force mc-home to break out */
@media (min-width: 1200px){
  body.page-template-page-molcomp-home .mc-home,
  body.page-template-page-molcomp-home-php .mc-home{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}


/* 2) Color tokens + stronger specificity so Astra can’t force black headings */
.mc-home{
  --mc-fg: var(--mc-ink);
  --mc-fg-muted: var(--mc-muted);
  --mc-fg-muted2: var(--mc-muted2);
}

/* Make our typography classes win over .entry-content h1/p rules */
.mc-home .mc-h1,
.mc-home .mc-h2,
.mc-home .mc-h3{
  color: var(--mc-fg);
}

.mc-home .mc-sub{ color: var(--mc-fg-muted); }
.mc-home .mc-note{ color: var(--mc-fg-muted2); }

/* Kicker/eyebrow should also adapt */
.mc-home .mc-kicker{
  color: color-mix(in srgb, var(--mc-primary) 72%, var(--mc-fg-muted));
}
.mc-home .mc-eyebrow{
  color: var(--mc-fg-muted);
}

/* Dark sections flip the text tokens */
.mc-home .mc-hero,
.mc-home .mc-problem,
.mc-home .mc-mosaic,
.mc-home .mc-toolbelt,
.mc-home .mc-final{
  --mc-fg: #ffffff;
  --mc-fg-muted: rgba(255,255,255,.82);
  --mc-fg-muted2: rgba(255,255,255,.68);
}

/* Optional: add legibility over video (subtle, not “glowy”) */
.mc-home .mc-hero__content,
.mc-home .mc-problem__content,
.mc-home .mc-mosaic__content,
.mc-home .mc-toolbelt__content,
.mc-home .mc-final__inner{
  text-shadow: 0 2px 16px rgba(0,0,0,.40);
}

/* 3) (Optional) slightly wider content on ultrawide so it doesn’t feel “cropped” */
.mc-home .mc-wrap{ max-width: 1240px; }
@media (min-width: 1600px){
  .mc-home .mc-wrap{ max-width: 1400px; }
}

/* ======================================================================
   FIXES: ghost CTA visibility on light sections + correct hover contrast
   Paste at END of assets/home.css
   ====================================================================== */

/* 1) Ghost CTA was designed for dark backgrounds (white text).
      On light sections (like Pricing) it becomes invisible until hover.
      Make ghost CTAs a visible “outline” style on LIGHT sections. */
.mc-home .mc-section:not(.mc-mosaic) .mc-btn--ghost{
  background: rgba(15,23,42,.04) !important;
  border-color: rgba(15,23,42,.16) !important;
  color: #0f172a !important;
  backdrop-filter: none !important;
}

.mc-home .mc-section:not(.mc-mosaic) .mc-btn--ghost:hover,
.mc-home .mc-section:not(.mc-mosaic) .mc-btn--ghost:focus-visible{
  background: rgba(6,182,212,.10) !important;
  border-color: rgba(6,182,212,.45) !important;
  color: #0f172a !important;
}

/* 2) On DARK sections, Astra’s link hover can leak in and turn the text blue-ish.
      Force the “secondary” (ghost) CTA hover text to your requested color. */
.mc-home :is(.mc-hero,.mc-problem,.mc-mosaic,.mc-toolbelt,.mc-final) .mc-btn--ghost:hover,
.mc-home :is(.mc-hero,.mc-problem,.mc-mosaic,.mc-toolbelt,.mc-final) .mc-btn--ghost:focus-visible{
  color: #F9D9AD !important;
  border-color: rgba(249,217,173,.55) !important;
}

/* (Optional but recommended) Ensure primary CTA never inherits theme link hover color */
.mc-home .mc-btn--primary:hover,
.mc-home .mc-btn--primary:focus-visible{
  color: #001018 !important;
}
