/* ============================================================
   BASE + COLOR VARIABLES
   ============================================================ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}

:root{
  --white:#F5F0EB;
  --warm:#FAF7F2;
  --cream:#EDE8E1;
  --cream-dark:#E5DFD6;
  --charcoal:#3D2B1F;
  --ink:#4A3728;
  --ink-light:#6B4E3D;
  --muted:#9E948A;
  --border:#B5ADA5;
  --gold:#C4A882;
  --gold-light:#B8956A;
  --gold-pale:#E8DCC8;
  --pink:#D4A5A5;
  --blue:#0071E3;
}

body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--white);
  color:var(--ink);
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* ============================================================
   TYPOGRAPHY (Aura page-specific)
   ============================================================ */
.t-h1{
  font-size:clamp(44px,6.5vw,92px);
  font-weight:300;
  line-height:.95;
  letter-spacing:-.02em
}

.t-h2{
  font-size:clamp(26px,3.5vw,48px);
  font-weight:300;
  line-height:1.05;
  letter-spacing:-.02em
}

.t-h3{
  font-size:clamp(17px,1.8vw,26px);
  font-weight:400;
  line-height:1.2;
  letter-spacing:-.01em
}

.t-label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:10px;
  font-weight:500;
  letter-spacing:.25em;
  text-transform:uppercase;
  color:var(--gold)
}

.t-label::before{
  content:'';
  width:20px;
  height:1px;
  background:var(--gold)
}

.t-label-center{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:10px;
  font-weight:500;
  letter-spacing:.25em;
  text-transform:uppercase;
  color:var(--gold)
}

.t-label-center::before,
.t-label-center::after{
  content:'';
  width:18px;
  height:1px;
  background:var(--gold)
}

.t-body{
  font-size:15px;
  font-weight:300;
  line-height:1.9;
  letter-spacing:.01em;
  color:var(--muted)
}

.t-body-sm{
  font-size:13px;
  font-weight:300;
  line-height:1.8;
  letter-spacing:.01em;
  color:var(--muted)
}

.t-mono{
  font-size:10px;
  font-weight:500;
  letter-spacing:.25em;
  text-transform:uppercase;
  color:var(--muted)
}

/* ============================================================
   BUTTONS + COMPONENTS
   ============================================================ */
.btn-gold{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:16px 36px;
  background:var(--gold);
  color:var(--charcoal);
  font-size:11px;
  font-weight:500;
  letter-spacing:.15em;
  text-transform:uppercase;
  border:none;
  cursor:pointer;
  transition:all .4s cubic-bezier(.25,.46,.45,.94);
}

.btn-gold:hover{
  background:var(--gold-light);
  color:var(--warm);
  transform:translateY(-2px)
}

.feature-tag{
  display:inline-block;
  border:1px solid var(--border);
  padding:5px 14px;
  font-size:11px;
  color:var(--ink-light)
}

.prob-tag{
  display:inline-block;
  padding:3px 10px;
  margin-bottom:8px
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.flex{display:flex}
.col{flex-direction:column}
.center{align-items:center}
.between{justify-content:space-between}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.gap4{gap:16px}
.gap6{gap:24px}
.mt1{margin-top:4px}
.mt2{margin-top:8px}
.mt3{margin-top:12px}
.mt4{margin-top:16px}
.mt5{margin-top:20px}
.mt6{margin-top:24px}
.mt8{margin-top:32px}
.text-center{text-align:center}
.relative{position:relative}

/* ============================================================
   COMPARISON / SCENE / PROBLEM CARDS
   ============================================================ */
.compare{
  display:flex;
  height:clamp(320px,52vh,480px);
  border-radius:4px;
  overflow:hidden;
  position:relative
}

.panel{
  flex:1;
  position:relative;
  overflow:hidden
}

.panel img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .8s
}

.panel:hover img{
  transform:scale(1.03)
}

.panel .fade{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:60%;
  background:linear-gradient(to top,rgba(0,0,0,.65),transparent);
  pointer-events:none
}

.panel .info{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:20px;
  z-index:2
}

.vs{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--warm);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:20;
  box-shadow:0 4px 24px rgba(0,0,0,.12);
  font-size:14px;
  font-weight:500
}

.card{
  position:relative;
  overflow:hidden;
  border-radius:4px
}

.card img{
  width:100%;
  height:100%;
  object-fit:cover
}

.card .fade{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:60%;
  background:linear-gradient(to top,rgba(0,0,0,.78),transparent)
}

.card .info{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:16px;
  z-index:2
}

.scene{
  position:relative;
  overflow:hidden;
  border-radius:4px;
  transition:transform .5s
}

.scene:hover{
  transform:translateY(-5px)
}

.scene img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s
}

.scene:hover img{
  transform:scale(1.05)
}

.scene .fade{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:66%;
  background:linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.15) 50%,transparent)
}

.scene .info{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:16px;
  z-index:2
}

/* Stat cards */
.stat-card{
  background:rgba(250,247,242,.22);
  backdrop-filter:blur(15px) saturate(1.3);
  -webkit-backdrop-filter:blur(15px) saturate(1.3);
  padding:12px 14px;
  border-radius:8px;
  border:1px solid rgba(250,247,242,.3);
  flex:1
}

.stat-val{
  font-size:clamp(18px,2vw,26px);
  font-weight:300;
  letter-spacing:-.02em;
  color:var(--ink)
}

.stat-unit{
  font-size:8px;
  font-weight:500;
  letter-spacing:.25em;
  text-transform:uppercase;
  color:var(--gold)
}

.stat-label{
  font-size:10px;
  font-weight:500;
  color:var(--ink-light);
  margin-top:3px;
  letter-spacing:.02em
}

.stat-desc{
  font-size:9px;
  color:var(--muted);
  margin-top:1px
}

/* Noise */
.noise{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:9999;
  opacity:.02;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

/* ============================================================
   SCROLLBAR + RESPONSIVE
   ============================================================ */
::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-track{background:var(--charcoal)}
::-webkit-scrollbar-thumb{background:var(--border)}
::-webkit-scrollbar-thumb:hover{background:var(--gold)}

@media(max-width:1024px){
  nav{
    padding:0 32px;
    height:68px
  }

  .nav-links{
    display:none
  }

  .compare{
    flex-direction:column!important;
    height:auto!important;
    min-height:500px
  }

  .vs{
    display:none!important
  }

  .grid3{
    grid-template-columns:1fr
  }

  .scene{
    min-height:200px
  }

  .footer-main{
    grid-template-columns:1fr 1fr;
    gap:36px;
    padding:44px 32px 32px
  }

  .footer-bottom{
    flex-direction:column;
    gap:12px;
    text-align:center;
    padding:24px 32px
  }
}

@media(max-width:768px){
  nav{
    padding:0 24px
  }

  .grid2{
    grid-template-columns:1fr
  }

  .grid3{
    grid-template-columns:1fr
  }

  .stat-row{
    flex-direction:column
  }

  .t-h1{
    font-size:clamp(32px,8vw,48px)
  }

  .footer-main{
    grid-template-columns:1fr;
    gap:40px;
    padding:44px 24px 32px
  }

  .footer-bottom{
    padding:20px 24px
  }
}

/* ===== WiFi page integration with Lumisync v3 header/footer ===== */
body.wifi-page{
  background:#F5F0EB;
}

body.wifi-page main{
  width:100%;
  overflow:hidden;
}

/* Keep v3 header/footer styles, do not use standalone page nav/footer */
body.wifi-page #site-header,
body.wifi-page #site-footer{
  font-family:inherit;
}

/*
  IMPORTANT:
  Do not replace the shared header's logo on the WiFi page.

  components/header.html already contains the approved:
  Lumisync_Logo_White_2026.svg

  Setting content:normal removes the old WiFi-specific
  Lumisync_Logo_White.svg substitution.
*/
body.wifi-page #nav .site-logo-img{
  content:normal !important;
}

/* prevent standalone utility selectors from affecting v3 nav too much */
body.wifi-page #nav .nav-links,
body.wifi-page #nav .nav-cta,
body.wifi-page #nav .nav-logo{
  box-sizing:border-box;
}

@media(max-width:768px){
  body.wifi-page main{
    padding-top:0;
  }
}