/* =========================================================
   styles.css — 47sign.com (FULL, CLEAN, FULLY STATIC HERO)
   - Hero background is FLAT/STATIC (no shifting colors)
   - Split hero: copy left, Billboard Preview right (SOLID)
   - Normal scrolling
   - Sticky mobile bar + lightbox + tables + sections
   ========================================================= */

/* --------------------------
   0) Theme / Variables
--------------------------- */
:root{
  --bg: #0b0f19;

  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.10);

  --ink: #e9e7ff;
  --muted: rgba(233,231,255,.72);

  --brand: #a855f7;
  --brand2: #fb7185;

  --wrap: 1180px;

  /* Hero glass legibility */
  --heroGlass: .62;

  /* Billboard Preview (right panel) */
  --previewBg: rgba(255,255,255,.94);
  --previewBorder: rgba(0,0,0,.12);
  --previewInk: rgba(10,12,18,.92);
  --previewMuted: rgba(10,12,18,.70);

  /* Static hero bg */
  --heroBg: #05060f;     /* flat hero background */
  --heroEdge: rgba(255,255,255,.08);
}

/* --------------------------
   1) Base / Resets
--------------------------- */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  overflow-x:hidden;
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: .2em; }
img{ max-width:100%; display:block; }

.wrap{
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline:auto;
}

.muted{ color: var(--muted); }

.note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(233,231,255,.78);
  font-size: .95rem;
}

/* --------------------------
   2) Topbar / Nav
--------------------------- */
.topbar{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(11,15,25,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px) saturate(140%);
}

.topbar-inner{
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline:auto;
  padding: 12px 0;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
}

.logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255,255,255,.25), transparent 60%),
    linear-gradient(135deg, rgba(168,85,247,.9), rgba(251,113,133,.85));
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.nav{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  text-decoration:none;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.pill:hover{
  text-decoration:none;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

.pill.primary{
  border-color: rgba(168,85,247,.45);
  background: linear-gradient(135deg, rgba(168,85,247,.28), rgba(251,113,133,.20));
}

/* --------------------------
   3) Sections / Panels / Grid
--------------------------- */
.section{ padding: clamp(26px, 5vw, 56px) 0; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.col-12{ grid-column: span 12; }
.col-7{ grid-column: span 7; }
.col-6{ grid-column: span 6; }
.col-5{ grid-column: span 5; }

@media (max-width: 980px){
  .col-7, .col-6, .col-5{ grid-column: span 12; }
}

.panel{
  border-radius: 20px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 26px 90px rgba(0,0,0,.35);
}

.panel h2, .panel h3{
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.panel p{ margin: 0 0 12px; color: rgba(233,231,255,.82); }
.panel p:last-child{ margin-bottom: 0; }

.list{
  list-style:none;
  padding:0;
  margin: 12px 0 0;
  display:grid;
  gap: 10px;
}

.list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(233,231,255,.85);
}

.check{
  display:inline-grid;
  place-items:center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(168,85,247,.18);
  border: 1px solid rgba(168,85,247,.30);
  flex: 0 0 auto;
}

/* --------------------------
   4) Buttons / CTA
--------------------------- */
.btnrow{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  text-decoration:none;
  font-weight: 600;
  letter-spacing: .01em;
}

.btn:hover{
  text-decoration:none;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}

.btn.primary{
  border-color: rgba(168,85,247,.45);
  background: linear-gradient(135deg, rgba(168,85,247,.34), rgba(251,113,133,.22));
}

.cta{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.cta h3{ margin: 0 0 6px; }
.cta p{ margin:0; color: rgba(233,231,255,.82); }

@media (max-width: 820px){
  .cta{ flex-direction: column; }
  .btnrow{ justify-content:flex-start; }
}

/* --------------------------
   5) Tables
--------------------------- */
table{
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

thead th{
  text-align:left;
  padding: 12px 12px;
  font-size: 13px;
  color: rgba(233,231,255,.80);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

tbody td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(233,231,255,.86);
  vertical-align: top;
}

tbody tr:last-child td{ border-bottom: none; }

.price{
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(255,255,255,.92);
}

/* --------------------------
   6) Gallery
--------------------------- */
.gallery{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.shot{
  grid-column: span 6;
  margin: 0;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.shot:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}
.shot img{ width: 100%; height: auto; }

.cap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(233,231,255,.82);
}

@media (max-width: 900px){
  .shot{ grid-column: span 12; }
}

/* --------------------------
   7) Footer
--------------------------- */
footer{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(233,231,255,.78);
}

/* --------------------------
   8) Sticky Mobile Bar
--------------------------- */
.sticky{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 10px 12px;
  background: rgba(11,15,25,.78);
  border-top: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px) saturate(140%);
}

.sticky-inner{
  width: min(var(--wrap), calc(100% - 12px));
  margin-inline:auto;
  display:flex;
  gap: 10px;
  justify-content: center;
}

@media (min-width: 900px){
  .sticky{ display:none; }
}

/* --------------------------
   9) Lightbox
--------------------------- */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  place-items:center;
  background: rgba(0,0,0,.72);
  z-index: 200;
  padding: 18px;
}
.lightbox.is-open{ display:grid; }

.lightbox-inner{
  width: min(980px, 100%);
  background: rgba(12,16,28,.92);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  overflow:hidden;
  box-shadow: 0 40px 160px rgba(0,0,0,.6);
}

.lightbox-bar{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.xbtn{
  appearance:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.xbtn:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}

.lightbox-img{ padding: 12px; }
.lightbox-img img{
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* =========================================================
   10) HERO SPLIT — FULLY STATIC
   - Entire hero background is flat + static
   - Preview panel is solid and never shows bg through it
   ========================================================= */
.hero{
  position: relative;
  padding: clamp(28px, 5vw, 64px) 0;

  /* FLAT STATIC background (no gradients) */
  background: var(--heroBg);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Optional: subtle static texture (still not "shifting") */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.10;
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(255,255,255,.08), transparent 55%),
    radial-gradient(900px 400px at 80% 30%, rgba(255,255,255,.06), transparent 60%);
}

.hero.hero--split{
  min-height: min(92vh, 920px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__grid{
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline:auto;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 42px);
  align-items:center;
}

.hero__content{
  position: relative;
  z-index: 3;
  padding: clamp(18px, 2.6vw, 28px);
  border-radius: 22px;

  /* keep your glass, but it’s on a flat background now */
  background: rgba(6,8,22, .72);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
  backdrop-filter: blur(10px) saturate(120%);
}

.kicker{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(233,231,255,.78);
  margin-bottom: 10px;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168,85,247,.9), rgba(251,113,133,.85));
  box-shadow: 0 0 18px rgba(168,85,247,.35);
}

.hero__content h1{
  margin: 0 0 10px;
  font-size: clamp(2.0rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__content .sub{
  margin: 0 0 14px;
  max-width: 62ch;
  opacity: .92;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.badges{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(233,231,255,.86);
  font-size: 14px;
  white-space: nowrap;
}

/* Right panel wrapper (solid dark frame) */
.hero__anim{
  position: relative;
  z-index: 2;
  height: min(620px, 70vh);
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;

  /* SOLID frame */
  background: rgba(10,12,18,.78);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  isolation: isolate;
}

/* Preview card inside right panel */
.hero__anim .panel{
  height: 100%;
  background: var(--previewBg);
  border: 1px solid var(--previewBorder);
  box-shadow: none;
}

/* Preview text is DARK */
.hero__anim .panel h2,
.hero__anim .panel h3{
  color: var(--previewInk);
}
.hero__anim .panel p{
  color: var(--previewMuted);
}
.hero__anim .panel .muted{
  color: var(--previewMuted) !important;
}

/* Preview buttons are DARK text */
.hero__anim .panel .btn{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.14);
  color: var(--previewInk) !important;
  text-decoration:none;
}
.hero__anim .panel .btn:hover{
  background: rgba(255,255,255,1);
  border-color: rgba(0,0,0,.22);
  text-decoration:none;
}
.hero__anim .panel .btn.primary{
  background: linear-gradient(135deg, rgba(168,85,247,.25), rgba(251,113,133,.20));
  border-color: rgba(0,0,0,.18);
  color: var(--previewInk) !important;
}

/* Images inside preview */
.hero__anim .panel img{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
}

/* Responsive stack */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__anim{ height: 52vh; min-height: 360px; }
}

/* =========================================================
   EXTRA: Split section (intersection image left, text right)
   Supports: <div class="panel split"> ... </div>
   ========================================================= */
.panel.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.split-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.bullets{
  margin: 14px 0 18px;
  padding-left: 18px;
}
.bullets li{ margin: 8px 0; }

@media (max-width: 860px){
  .panel.split{ grid-template-columns: 1fr; }
}
