/* MediaIn360 -- shared design system.
   One stylesheet, included by every page, so the look stays consistent
   across a growing multi-page site instead of drifting apart the way
   N copies of the same 300 lines of embedded CSS eventually do.

   Warm editorial palette anchored to real production photography --
   paper background, ink text, a terracotta/amber accent -- rather than
   the neon-on-black "space" look this replaced. Variable NAMES were
   kept stable (--void, --signal, --violet, --pink, --teal, --text...)
   even though their values changed roles, so every page built against
   the old tokens re-themes for free. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --void: #F4EFE6;
  --void-raised: #FFFFFF;
  --line: rgba(11,30,51,0.14);
  --signal: #FF5A1F;
  --violet: #0B1E33;
  --navy-mid: #1E3A5F;
  --pink: #B98A2E;
  --teal: #2F6F62;
  --text: #14263B;
  --text-dim: rgba(20,38,59,0.68);
  --text-faint: rgba(20,38,59,0.48);
  --ink-solid: #14263B;
  --paper-solid: #FDFBF7;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--signal); text-decoration: none; }
a:hover { color: var(--violet); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 600; }
.disp { font-family: var(--font-display); font-weight: 600; }
img { max-width: 100%; }

/* ---- ambient paper texture, reused on every page ---- */
.starfield-bg {
  position: relative;
  background:
    radial-gradient(ellipse 900px 600px at 15% 0%, rgba(30,58,95,0.07), transparent 60%),
    radial-gradient(ellipse 700px 500px at 88% 8%, rgba(255,90,31,0.045), transparent 55%),
    var(--void);
}
.starfield-bg::before {
  content: "";
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(20,38,59,0.10), transparent),
    radial-gradient(1px 1px at 25% 65%, rgba(20,38,59,0.08), transparent),
    radial-gradient(1px 1px at 40% 12%, rgba(20,38,59,0.10), transparent),
    radial-gradient(1px 1px at 55% 80%, rgba(20,38,59,0.08), transparent),
    radial-gradient(1px 1px at 70% 35%, rgba(20,38,59,0.10), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(20,38,59,0.08), transparent),
    radial-gradient(1px 1px at 92% 20%, rgba(20,38,59,0.10), transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(20,38,59,0.08), transparent),
    radial-gradient(1px 1px at 62% 55%, rgba(20,38,59,0.10), transparent),
    radial-gradient(1px 1px at 33% 40%, rgba(20,38,59,0.08), transparent);
}

/* ---- nav ---- */
.vdn-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 44px;
  background: rgba(244,239,230,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.vdn-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: 0.01em; color: var(--text);
}
.vdn-nav-links { display: flex; gap: 26px; font-size: 13px; color: var(--text-dim); font-weight: 500; align-items: center; }
.vdn-nav-links a { color: var(--text-dim); }
.vdn-nav-links a:hover { color: var(--text); }
.vdn-nav-cta {
  background: linear-gradient(90deg, var(--signal), var(--violet));
  color: var(--paper-solid) !important; font-weight: 700; font-size: 13px;
  padding: 9px 18px; border-radius: 6px; white-space: nowrap;
  min-height: 44px; display: inline-flex; align-items: center;
}
.vdn-mobile-toggle { display: none; }
.vdn-contact-row { display: none; }
.vdn-mobile-menu { display: none; }
@media (max-width: 860px) {
  .vdn-nav { position: relative; }
  .vdn-mobile-toggle {
    display: flex; align-items: center; gap: 6px; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; font-size: 22px; line-height: 1;
    color: var(--text); padding: 10px 10px; min-height: 44px; z-index: 41;
  }
  .vdn-mobile-toggle span { font-size: 13px; font-weight: 600; font-family: var(--font-body); }
  /* The full nav only shows inline on desktop; mobile gets a separate,
     deliberately short menu (conversion + contact only) instead of the
     same long list collapsed into a dropdown. */
  .vdn-nav-links { display: none; }
  .vdn-mobile-menu.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--void); padding: 20px 24px 24px; border-bottom: 1px solid var(--line);
    z-index: 40;
  }
  .vdn-mobile-menu.open .vdn-contact-row {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; padding-top: 14px;
    border-top: 1px solid var(--line); width: 100%; font-size: 12.5px;
  }
}

/* ---- buttons ---- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--signal), var(--violet));
  border: none; color: var(--paper-solid); font-family: var(--font-body); font-weight: 700;
  font-size: 15px; padding: 15px 32px; border-radius: 6px; cursor: pointer;
}
.btn-ghost {
  display: inline-block;
  background: transparent; border: 1px solid rgba(27,27,24,0.28);
  color: var(--text); font-family: var(--font-body); font-weight: 600;
  font-size: 14.5px; padding: 14px 30px; border-radius: 6px; cursor: pointer;
}
.btn-ghost-dark {
  display: inline-block;
  background: rgba(253,251,247,0.06); border: 1px solid rgba(253,251,247,0.5);
  color: #FDFBF7; font-family: var(--font-body); font-weight: 600;
  font-size: 14.5px; padding: 14px 30px; border-radius: 6px; cursor: pointer;
}

/* ---- layout helpers ---- */
.vdn-section { padding: 88px 24px; max-width: 1120px; margin: 0 auto; }
.vdn-section-tight { padding: 60px 24px; max-width: 880px; margin: 0 auto; }
.vdn-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet);
  margin-bottom: 16px;
}
.vdn-eyebrow svg { flex-shrink: 0; }
.vdn-h2 { font-size: 34px; font-weight: 600; line-height: 1.18; color: var(--text); margin-bottom: 18px; }
.vdn-lede { font-size: 16.5px; line-height: 1.7; color: var(--text-dim); max-width: 640px; margin-bottom: 30px; }

/* ---- cards ---- */
.vdn-card {
  background: var(--void-raised);
  border: 1px solid var(--line); border-radius: 10px; padding: 26px;
  box-shadow: 0 1px 2px rgba(27,27,24,0.04);
}
.vdn-card h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; font-family: var(--font-display); }
.vdn-card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin: 0; }
.vdn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vdn-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vdn-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 860px) { .vdn-grid-2, .vdn-grid-3, .vdn-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vdn-grid-2, .vdn-grid-3, .vdn-grid-4 { grid-template-columns: 1fr; } }

/* ---- flip cards (hover-driven on the real site -- pointer devices only;
   touch just sees the front, which always carries the complete label) ---- */
.flip-card { perspective: 1200px; height: 200px; }
.flip-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.6s ease;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden;
  border-radius: 10px; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 10px; padding: 20px; text-align: center;
}
.flip-front { background: var(--void-raised); box-shadow: 0 1px 2px rgba(27,27,24,0.04); }
.flip-back {
  transform: rotateY(180deg);
  background: #FBF6EC;
  border-color: rgba(255,90,31,0.35);
}
.flip-face .disp { font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; color: var(--text); }
.flip-face p { font-size: 11.5px; color: var(--text-dim); line-height: 1.55; margin: 0; }

/* ---- pricing table ---- */
.vdn-price-card {
  background: var(--void-raised); border: 1px solid var(--line); border-radius: 10px; padding: 30px;
}
.vdn-price-card.highlight { border-color: var(--signal); box-shadow: 0 4px 24px rgba(255,90,31,0.12); }
.vdn-price-card .plabel { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.vdn-price-card .pnum { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.vdn-price-card .pnum small { font-size: 14px; font-weight: 600; color: var(--text-faint); }
.vdn-price-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.vdn-price-card li { font-size: 13.5px; color: var(--text-dim); padding: 8px 0; border-top: 1px solid var(--line); }
.vdn-price-card li:first-child { border-top: none; }

/* ---- FAQ accordion ---- */
.vdn-faq-item { border-bottom: 1px solid var(--line); }
.vdn-faq-item .q {
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text);
  padding: 16px 30px 16px 0; position: relative; cursor: pointer;
}
.vdn-faq-item .q::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--signal); font-size: 19px; font-weight: 700; }
.vdn-faq-item.open .q::after { content: "\2212"; }
.vdn-faq-item .a { font-size: 14px; color: var(--text-dim); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.vdn-faq-item.open .a { max-height: 500px; padding-bottom: 16px; }

/* ---- footer ---- */
.vdn-footer {
  border-top: 1px solid var(--line); padding: 40px 24px; text-align: center;
  font-size: 13px; color: var(--text-faint);
}
.vdn-footer .foot-links { margin-top: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.vdn-footer .foot-links a { color: var(--text-dim); }
.vdn-footer-contact { margin-top: 14px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; font-size: 12.5px; }
.vdn-footer-contact a { color: var(--text-dim); }
.vdn-footer-contact a:hover { color: var(--text); }

/* SaaS-style grouped footer -- an alternative to .foot-links' single flat
   row, used on the core/supporting pages where the link count got long. */
.vdn-footer-cols {
  margin: 30px auto 0; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; max-width: 900px; text-align: left;
}
.vdn-footer-cols h4 {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
  margin: 0 0 12px;
}
.vdn-footer-cols ul { list-style: none; margin: 0; padding: 0; }
.vdn-footer-cols li { margin-bottom: 9px; }
.vdn-footer-cols a { color: var(--text-dim); font-size: 13px; }
.vdn-footer-cols a:hover { color: var(--text); }
.vdn-footer-bottom {
  margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: center; gap: 18px; font-size: 12px; color: var(--text-faint);
  max-width: 900px;
}
@media (max-width: 700px) {
  .vdn-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .vdn-footer-cols { grid-template-columns: 1fr; }
}

/* ---- photo band: a shorter real-photo strip for interior pages, same
   dark-overlay/serif-caption treatment as the home hero but scaled down
   so it reads as a supporting beat, not a second hero ---- */
.photo-band { position: relative; width: 100%; min-height: 320px; overflow: hidden; display: flex; align-items: flex-end; }
.photo-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.photo-band .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,28,0.22) 0%, rgba(6,16,28,0.8) 100%); }
.photo-band .cap { position: relative; padding: 26px 44px 30px; max-width: 620px; }
.photo-band .cap .eyebrow3 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #FFB088; font-weight: 700; margin-bottom: 8px; }
.photo-band .cap p { font-family: var(--font-display); font-size: 19px; color: #FDFBF7; margin: 0; line-height: 1.45; font-weight: 500; }
@media (max-width: 620px) { .photo-band { min-height: 220px; } .photo-band .cap { padding: 18px 22px 22px; } .photo-band .cap p { font-size: 16px; } }

/* ---- pulsing/glow accents ---- */
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 40px 8px rgba(255,90,31,0.18); } 50% { box-shadow: 0 0 60px 14px rgba(255,90,31,0.3); } }
@keyframes drift { 0% { transform: translateY(0); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0); } }
@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit-spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

/* ---- FindIt "you found it" celebration: confetti burst + flash pop,
   fired once from findit-hunt.js when the reward modal opens ---- */
@keyframes findit-confetti-fall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) translateX(var(--drift)) rotate(600deg); opacity: 0; }
}
@keyframes findit-overlay-flash {
  0% { background: rgba(255,255,255,0.9); }
  100% { background: rgba(3,3,3,0.6); }
}
@keyframes findit-modal-pop {
  0% { transform: scale(0.8); opacity: 0; }
  55% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes findit-reward-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,102,47,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(193,102,47,0); }
}

/* ---- orbit ring: a slow-rotating circle, purely decorative, a literal
   nod to "360" -- meant to sit behind a hero focal point, not compete
   with it. Dashed so the rotation actually reads as motion. ---- */
.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(30,58,95,0.24);
  border-radius: 50%;
  animation: orbit-spin 40s linear infinite;
  pointer-events: none;
}
.orbit-ring.rev { animation-name: orbit-spin-rev; }
.orbit-ring.on-dark { border-color: rgba(253,251,247,0.16); }
