/*
Theme Name: Media Fields Landing
Theme URI: https://bplugins.com/
Author: bPlugins
Description: Single page landing theme for Media Fields for Contact Form 7.
Version: 1.5.2
License: GPL-2.0-or-later
Text Domain: media-fields-landing
*/
/* ==========================================================================
   Media Fields for Contact Form 7 — product landing page
   Design language taken from https://bplugins.com/products/3d-viewer/
   Space Grotesk headings, Inter body, #146EF5 primary, #FF7A00 accent,
   #070127 ink, soft blue tints for section bands.
   ========================================================================== */
:root {
  --blue: #146EF5;
  --blue-dark: #0B4AC0;
  --orange: #FF7A00;
  --ink: #070127;
  --body: #485781;
  --muted: #7A8397;
  --line: #E4EAF5;
  --tint: rgba(65, 111, 244, 0.05);
  --white: #fff;
  --radius: 8px;
  --shell: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], div[id] { scroll-margin-top: 90px; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--body); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Space Grotesk", Inter, sans-serif; color: var(--ink); font-weight: 700; line-height: 1.14; }
h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -1.5px; }
h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.8px; }
h3 { font-size: 19px; letter-spacing: -0.2px; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.lede { font-size: 17px; line-height: 1.7; max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 30px; border-radius: var(--radius);
  font-family: Inter, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.4;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: #E06A00; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: #F6F9FE; }
.btn--onink { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }

/* Header ----------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-family: "Space Grotesk", sans-serif; font-size: 17px; color: var(--ink); }
.brand span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--blue); }
@media (max-width: 900px) { .nav { display: none; } }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 68px;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 55%, #EFF4FF 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 104px 104px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse at 50% 35%, #000 30%, transparent 78%);
}
.hero .shell { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 28px; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-media { position: relative; }
.hero-media img { border-radius: 12px; box-shadow: 0 24px 60px rgba(7,1,39,.18); }
.hero-media .play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,.94); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(7,1,39,.28);
}
.hero-media .play::after {
  content: ""; border-style: solid; border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--blue); margin-left: 5px;
}

/* Tag pills -------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tag {
  font-family: Consolas, Monaco, monospace; font-size: 13px; font-weight: 600;
  padding: 8px 15px; border-radius: 999px; background: #fff; color: var(--blue);
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(7,1,39,.05);
}

/* Facts bar -------------------------------------------------------------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts .shell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
@media (max-width: 780px) { .facts .shell { grid-template-columns: repeat(2, 1fr); } }
.fact b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 30px; color: var(--ink); line-height: 1.1; }
.fact span { font-size: 14px; color: var(--muted); }

/* Alternating feature rows ----------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 84px; }
.feature:nth-child(even) .feature-copy { order: 2; }
@media (max-width: 980px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature:nth-child(even) .feature-copy { order: 0; }
  .feature + .feature { margin-top: 56px; }
}
.feature-copy h2 { margin-bottom: 16px; font-size: clamp(24px, 2.6vw, 33px); }
.feature-copy p { margin-bottom: 14px; }
.feature-copy .who { font-size: 14px; color: var(--muted); }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 44px rgba(7,1,39,.10); background: #fff; }

/* Cards ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; }
.card .ico {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(20,110,245,.10);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--blue); font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 22px; border-top: 3px solid var(--blue); }
.step b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 13px; color: var(--blue); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 15px; }

/* Dark band -------------------------------------------------------------- */
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #B9C2DA; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 980px) { .quote-grid { grid-template-columns: 1fr; } }
.quote { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 26px 24px; }
.quote p { font-size: 15px; margin-bottom: 16px; }
.quote .who { font-size: 13px; color: #8E9ABA; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 860px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-family: "Space Grotesk", sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin-top: 12px; font-size: 15px; }

/* Screenshots ------------------------------------------------------------ */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
@media (max-width: 980px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .shots { grid-template-columns: 1fr; } }
.shot-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--body); box-shadow: 0 1px 2px rgba(7,1,39,.05); transition: transform .15s ease, box-shadow .15s ease; }
.shot-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(7,1,39,.12); }
.shot-card img { width: 100%; aspect-ratio: 1600 / 1131; object-fit: cover; border-bottom: 1px solid var(--line); }
.shot-card__text { display: block; padding: 16px 18px 18px; }
.shot-card__text b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 16px; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.2px; }
.shot-card__text span { display: block; font-size: 14px; line-height: 1.55; }
.vmodal__box.vmodal__box--img { aspect-ratio: auto; overflow: visible; background: transparent; box-shadow: none; text-align: center; }
.vmodal__box.vmodal__box--img img { display: inline-block; max-width: 100%; max-height: calc(100vh - 120px); border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vmodal__cap { color: #D8E5FF; font-size: 14px; text-align: center; margin-top: 12px; }
.vmodal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.vmodal__nav:hover { background: rgba(255,255,255,.28); }
.vmodal__nav--prev { left: -56px; } .vmodal__nav--next { right: -56px; }
@media (max-width: 1240px) { .vmodal__nav--prev { left: 8px; } .vmodal__nav--next { right: 8px; } .vmodal__nav { background: rgba(0,0,0,.6); } }

/* Live demos ------------------------------------------------------------- */
.demos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
@media (max-width: 980px) { .demos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .demos { grid-template-columns: 1fr; } }
.demo-card-link { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; color: var(--body); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.demo-card-link:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(7,1,39,.12); border-color: rgba(20,110,245,.35); }
.demo-card-link__ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(20,110,245,.10); display: grid; place-items: center; margin-bottom: 16px; color: var(--blue); font-weight: 700; font-family: "Space Grotesk", sans-serif; }
.demo-card-link h3 { margin-bottom: 8px; }
.demo-card-link p { font-size: 15px; margin-bottom: 10px; }
.demo-card-link .who { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.demo-card-link__cta { margin-top: auto; font-weight: 600; color: var(--blue); font-size: 15px; }
.feature-copy .demo-link { display: inline-block; margin-top: 6px; font-weight: 600; font-size: 15px; }

/* Demo pages ------------------------------------------------------------- */
.demo-main { background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 55%, #EFF4FF 100%); padding: 56px 0 72px; min-height: 60vh; }
.demo-shell { max-width: 820px; }
.demo-intro { text-align: center; margin-bottom: 34px; }
.demo-intro h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.demo-intro .lede { margin: 0 auto; }
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: 0 16px 44px rgba(7,1,39,.08); }
@media (max-width: 620px) { .demo-card { padding: 22px 18px; } }
.demo-note { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.demo-tag { margin-top: 44px; }
.demo-tag pre { background: var(--ink); color: #D8E5FF; border-radius: 12px; padding: 20px 22px; overflow-x: auto; font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.demo-back { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.demo-card p.section { padding: 0; font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--ink); font-size: 19px; margin: 6px 0 12px; }
.demo-card p.lede { font-size: 16px; margin-bottom: 18px; }
.demo-card p.note { font-size: 14px; color: var(--muted); margin: 12px 0 18px; }
.demo-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .demo-card .row { grid-template-columns: 1fr; } }
.demo-card form label { display: block; font-weight: 600; color: var(--ink); font-size: 14px; margin: 16px 0 0; }
.demo-card .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.demo-card input[type="text"], .demo-card input[type="email"], .demo-card input[type="tel"], .demo-card textarea, .demo-card select { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.demo-card input:focus, .demo-card textarea:focus, .demo-card select:focus { outline: 2px solid rgba(20,110,245,.35); border-color: var(--blue); }
.demo-card .wpcf7-submit { margin-top: 22px; display: inline-flex; align-items: center; padding: 13px 30px; border-radius: var(--radius); font: inherit; font-size: 15px; font-weight: 600; background: var(--blue); color: #fff; border: 1px solid transparent; cursor: pointer; }
.demo-card .wpcf7-submit:hover { background: var(--blue-dark); }
.demo-card .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; }
.demo-card .wpcf7-not-valid-tip { font-size: 13px; color: #C0392B; margin-top: 4px; }
.demo-card .wpcf7-spinner { margin-left: 10px; }

/* Getting started row ---------------------------------------------------- */
.tutorial .feature-copy .eyebrow { margin-bottom: 10px; }
.tutorial .feature-copy .btn { margin-top: 6px; }

.inline-embed { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(7,1,39,.18); background: #000; }
.inline-embed a, .inline-embed img { display: block; height: 100%; width: 100%; object-fit: cover; }
.inline-embed img { border-radius: 0; box-shadow: none; }
.inline-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.video-badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(7,1,39,.78); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; pointer-events: none; }
.inline-embed { position: relative; }

/* Final CTA -------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #146EF5 0%, #0B3FA8 100%);
  border-radius: 16px; padding: 56px 44px; text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #D8E5FF; max-width: 56ch; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: 14px; color: var(--muted); }
.site-footer .shell { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--body); }

/* Video modal (hero thumbnail) ------------------------------------------- */
.hero-media a { cursor: pointer; }
.vmodal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(7,1,39,.82); }
.vmodal.is-open { display: flex; }
.vmodal__inner { position: relative; width: min(1100px, 100%); }
.vmodal__box { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vmodal__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.vmodal__close:hover { background: rgba(255,255,255,.28); }
@media (max-width: 700px) { .vmodal__close { top: 8px; right: 8px; background: rgba(0,0,0,.6); } }
body.vmodal-open { overflow: hidden; }
