/* legal/moviqara/layout.css
 * Layout components for Moviqara — moviq-prefixed classes.
 * Loaded alongside base.css and brand.css on every page. */

/* ─── Hero (index page) ─── */
.moviqHero {
  background: #07201d;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.moviqHeroBand {
  display: flex;
  align-items: stretch;
  min-height: 480px;
}
.moviqHeroText {
  flex: 1 1 480px;
  padding: 4rem 3rem 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.moviqEyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2dd4bf;
  margin-bottom: 1rem;
  display: block;
}
.moviqHeroText h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.moviqHeroSub {
  font-size: 1.05rem;
  color: #99f6e4;
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 420px;
}
.moviqPricePill {
  display: inline-block;
  align-self: flex-start;
  background: #0d9488;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.moviqHeroCtas { display: flex; gap: 1rem; flex-wrap: wrap; }
.moviqBtnPrimary {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  padding: 0.7rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.moviqBtnPrimary:hover { background: #0f766e; }
.moviqBtnGhost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.25);
  color: #99f6e4;
  padding: 0.7rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.moviqBtnGhost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* Geometric panel (right side of hero) */
.moviqHeroPanel {
  flex: 0 0 400px;
  background: #0d9488;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3rem 3rem 5rem;
}
.moviqPhoneMock {
  width: 160px;
  height: 280px;
  background: #07201d;
  border-radius: 22px;
  border: 3px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.moviqPhoneNotch {
  width: 60px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  margin: 12px auto 0;
}
.moviqPhoneScreen {
  margin: 12px 10px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.moviqPlayCircle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moviqPlayCircle::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.moviqPhoneBars {
  width: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.moviqPhoneBar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.moviqPhoneBar:nth-child(1) { width: 80%; }
.moviqPhoneBar:nth-child(2) { width: 60%; }

/* ─── Trust bar ─── */
.moviqTrustBar {
  background: #fff;
  border-bottom: 1px solid #99f6e4;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.moviqTrustItem {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  border-right: 1px solid #d1faf4;
}
.moviqTrustItem:last-child { border-right: none; }
.moviqTrustItem .moviqTrustIcon { font-size: 1.1rem; }

/* ─── Feature rows ─── */
.moviqFeatureSection {
  padding: 4rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.moviqFeatureSection > h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #07201d;
  margin: 0 0 3rem;
  text-align: center;
}
.moviqFeatureRow {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #d1faf4;
}
.moviqFeatureRow:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.moviqFeatureRowReverse { flex-direction: row-reverse; }
.moviqFeatIconWrap {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: #f0fdfa;
  border: 2px solid #99f6e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.moviqFeatText { flex: 1; }
.moviqFeatText h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #07201d;
  margin: 0 0 0.6rem;
}
.moviqFeatText p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.75;
  margin: 0;
  max-width: 480px;
}

/* ─── How it works — vertical steps ─── */
.moviqStepsSection {
  background: #fff;
  padding: 4rem 2.5rem;
  border-top: 1px solid #d1faf4;
  border-bottom: 1px solid #d1faf4;
}
.moviqStepsInner {
  max-width: 760px;
  margin: 0 auto;
}
.moviqStepsInner > h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #07201d;
  margin: 0 0 3rem;
  text-align: center;
}
.moviqStepsList {
  position: relative;
  padding-left: 2rem;
}
.moviqStepsList::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #d1faf4;
}
.moviqStepItem {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.moviqStepItem:last-child { margin-bottom: 0; }
.moviqStepMarker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.moviqStepContent { padding-top: 0.5rem; }
.moviqStepContent h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #07201d;
  margin: 0 0 0.35rem;
}
.moviqStepContent p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ─── Pricing block ─── */
.moviqPricingSection {
  padding: 4rem 2.5rem;
  background: #f0fdfa;
  text-align: center;
}
.moviqPricingBlock {
  display: inline-block;
  background: #fff;
  border: 2px solid #99f6e4;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(13, 148, 136,0.08);
}
.moviqPricingBlock h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
}
.moviqPriceAmount {
  font-size: 4rem;
  font-weight: 900;
  color: #07201d;
  line-height: 1;
  margin: 0 0 0.25rem;
}
.moviqPriceSub {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0 0 2rem;
}
.moviqPriceChecks {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  text-align: left;
}
.moviqPriceChecks li {
  font-size: 0.925rem;
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #d1faf4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.moviqPriceChecks li:last-child { border-bottom: none; }
.moviqPriceChecks li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0d9488;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9 L7.5 12.5 L14 6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ─── Page hero (inner pages) ─── */
.moviqPageHero {
  background: linear-gradient(135deg, #07201d 0%, #115e59 100%);
  color: #fff;
  padding: 3rem 2.5rem 2.5rem;
}
.moviqPageHero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  max-width: 1100px;
}
.moviqPageHero p {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0.6rem 0 0;
  max-width: 560px;
  line-height: 1.6;
  color: #99f6e4;
}

/* ─── Inline anchor nav (legal pages) ─── */
.moviqAnchorNav {
  background: #fff;
  border-bottom: 1px solid #d1faf4;
  padding: 0.85rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.moviqAnchorNav span {
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  margin-right: 0.25rem;
}
.moviqAnchorNav a {
  color: #6b7280;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.moviqAnchorNav a:hover { border-color: #0d9488; color: #0d9488; }

/* ─── Legal content ─── */
.moviqLegalContent {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.moviqLegalContent h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #07201d;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #d1faf4;
}
.moviqLegalContent h2:first-child { margin-top: 0; border-top: none; }
.moviqLegalContent p, .moviqLegalContent li {
  font-size: 0.925rem;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 0.85rem;
}
.moviqLegalContent ul, .moviqLegalContent ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}
.moviqLegalContent a { color: #0d9488; }

/* ─── General content area ─── */
.moviqContent {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.moviqContent h1 { font-size: 1.8rem; font-weight: 800; color: #07201d; margin: 0 0 1rem; }
.moviqContent h2 { font-size: 1.2rem; font-weight: 700; color: #07201d; margin: 2rem 0 0.6rem; }
.moviqContent p, .moviqContent li { font-size: 0.925rem; color: #374151; line-height: 1.8; margin: 0 0 0.85rem; }
.moviqContent ul, .moviqContent ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.moviqContent a { color: #0d9488; }

/* ─── Highlight cards (about, contact) ─── */
.moviqHighlightCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.moviqHighlightCard {
  background: #fff;
  border: 1px solid #99f6e4;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.moviqHighlightCard .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.moviqHighlightCard h3 { font-size: 1rem; font-weight: 700; color: #07201d; margin: 0 0 0.35rem; }
.moviqHighlightCard p { font-size: 0.85rem; color: #6b7280; margin: 0; }

/* ─── Footer (3-column) ─── */
.moviqSiteFooter {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 3rem 2.5rem 1.5rem;
}
.moviqFooterGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.moviqFooterBrand .moviqFooterLogo {
  display: block;
  width: 48px;
  height: 48px;
  background-image: var(--logo-url);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 0.75rem;
}
.moviqFooterBrand .moviqBrandTitle {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.moviqFooterBrand .moviqTagline {
  font-size: 0.82rem;
  color: #5eead4;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.moviqFooterBrand .moviqDisclosure {
  font-size: 0.78rem;
  color: #2dd4bf;
  line-height: 1.6;
  border-left: 3px solid #0d9488;
  padding-left: 0.75rem;
}
.moviqFooterCol h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 1rem;
}
.moviqFooterCol ul { list-style: none; margin: 0; padding: 0; }
.moviqFooterCol ul li { margin-bottom: 0.55rem; }
.moviqFooterCol ul li a {
  color: #5eead4;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.moviqFooterCol ul li a:hover { color: #99f6e4; }
.moviqFooterContact p {
  font-size: 0.875rem;
  color: #5eead4;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}
.moviqFooterContact a { color: #2dd4bf; text-decoration: none; }
.moviqFooterContact a:hover { text-decoration: underline; }
.moviqFooterBottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.moviqFooterBottom p { font-size: 0.78rem; color: #6b7280; margin: 0 0 0.3rem; }
.moviqFooterBottom a { color: #5eead4; text-decoration: none; }
.moviqFooterBottom a:hover { color: #99f6e4; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .moviqHeroBand { flex-direction: column; }
  .moviqHeroPanel {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    flex: 0 0 260px;
    padding: 2rem;
    justify-content: center;
  }
  .moviqHeroText { padding: 2.5rem 1.5rem 2rem; }
  .moviqHeroText h1 { font-size: 2rem; }
  .moviqFeatureRow { flex-direction: column !important; gap: 1.5rem; }
  .moviqFooterGrid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .moviqTrustBar { flex-direction: column; align-items: flex-start; }
  .moviqTrustItem { border-right: none; border-bottom: 1px solid #d1faf4; width: 100%; }
  .moviqTrustItem:last-child { border-bottom: none; }
  .moviqHeroText h1 { font-size: 1.7rem; }
  .moviqFooterGrid { grid-template-columns: 1fr; gap: 1.75rem; }
  .moviqSiteFooter { padding: 2.5rem 1.25rem 1.25rem; }
  .moviqPricingBlock { padding: 2rem 1.5rem; }
  .moviqFeatureSection { padding: 2.5rem 1.25rem; }
  .moviqStepsSection { padding: 2.5rem 1.25rem; }
  .moviqAnchorNav { padding: 0.85rem 1.25rem; }
}
