/* /assets/site.css — NightShift AI Design System v1
   Extracted from index.html + product.html
*/

:root{
  --bg: #0b1020;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --panel3: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.10);
  --border2: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);

  --accent: #6ea8ff;
  --good: #42d392;
  --warn: #ffcc66;
  --bad:  #ff6b6b;

  --shadow: 0 18px 60px rgba(0,0,0,.46);
  --shadow2: 0 10px 30px rgba(0,0,0,.28);

  --radius: 22px;
  --radius2: 16px;

  --ring: 0 0 0 3px rgba(110,168,255,.20);

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --max: 1180px;
}

html:not(.dark){
  --bg: #f6f7fb;
  --panel: rgba(10,15,25,.04);
  --panel2: rgba(10,15,25,.06);
  --panel3: rgba(10,15,25,.03);
  --border: rgba(10,15,25,.10);
  --border2: rgba(10,15,25,.14);
  --text: rgba(10,15,25,.92);
  --muted: rgba(10,15,25,.62);
  --shadow: 0 18px 50px rgba(10,15,25,.14);
  --shadow2: 0 10px 24px rgba(10,15,25,.10);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(110,168,255,.18), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(66,211,146,.10), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(255,204,102,.08), transparent 55%),
    var(--bg);
  overflow-x:hidden;
}

a{ color: inherit; }

.container{
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

/* Subtle grid texture */
.bgGrid{
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity: .32;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(700px 520px at 50% 20%, rgba(0,0,0,1), transparent 72%);
}
html:not(.dark) .bgGrid{
  opacity: .12;
  background-image:
    linear-gradient(to right, rgba(10,15,25,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,15,25,.10) 1px, transparent 1px);
}

/* NAV */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(11,16,32,.92), rgba(11,16,32,.72));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
html:not(.dark) .nav{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border-bottom-color: rgba(10,15,25,.10);
}

.navInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  min-width: 0;
  border-radius: 16px;
  padding: 8px 10px;
  border: 1px solid transparent;
}
.brand:hover{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
html:not(.dark) .brand:hover{
  background: rgba(10,15,25,.04);
  border-color: rgba(10,15,25,.10);
}

.mark{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  letter-spacing: .02em;
  background: rgba(110,168,255,.16);
  border: 1px solid rgba(110,168,255,.30);
  box-shadow: var(--shadow2);
  flex: 0 0 auto;
}
html:not(.dark) .mark{ box-shadow: 0 10px 24px rgba(10,15,25,.10); }

.brandText{ min-width: 0; line-height: 1.1; }
.brandText b{
  display:block;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .01em;
}
.brandText span{
  display:block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  max-width: 520px;
}

.navRight{
  display:flex;
  align-items:center;
  gap: 10px;
}

.links{
  display:flex;
  align-items:center;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
html:not(.dark) .links{
  border-color: rgba(10,15,25,.10);
  background: rgba(10,15,25,.03);
}

.navA{
  text-decoration:none;
  font-weight: 900;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--text);
  white-space: nowrap;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.navA:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  transform: translateY(-1px);
}
html:not(.dark) .navA:hover{
  background: rgba(10,15,25,.04);
  border-color: rgba(10,15,25,.10);
}
.navA.active{
  background: rgba(110,168,255,.12);
  border-color: rgba(110,168,255,.25);
}
.navA.subtle{ color: var(--muted); font-weight: 850; }

.btn{
  border-radius: 14px;
  padding: 11px 12px;
  font-weight: 950;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  user-select:none;
  gap: 10px;
  white-space: nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  background: var(--panel2);
  border-color: rgba(110,168,255,.35);
}
.btn:focus{ outline:none; box-shadow: var(--ring); }
.btn.primary{
  background: linear-gradient(180deg, rgba(110,168,255,.28), rgba(110,168,255,.16));
  border-color: rgba(110,168,255,.45);
}

.iconBtn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  color: var(--text);
}
html:not(.dark) .iconBtn{
  border-color: rgba(10,15,25,.12);
  background: rgba(10,15,25,.03);
}
.iconBtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(110,168,255,.35);
}

.hamburger{ display:none; }
@media (max-width: 980px){
  .links{ display:none; }
  .hamburger{ display:inline-flex; }
}

.mobileMenu{ display:none; padding: 0 0 14px; }
.mobileMenu.open{ display:block; }
.mobileCard{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 10px;
  box-shadow: var(--shadow2);
}
html:not(.dark) .mobileCard{
  border-color: rgba(10,15,25,.10);
  background: rgba(10,15,25,.03);
}
.mobileCard a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
  border: 1px solid transparent;
}
.mobileCard a:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
}

/* HERO + HEADINGS */
.heroWrap{ padding: 34px 0 0; } /* index */
.wrap{ padding: 28px 0 10px; }   /* product */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
html:not(.dark) .eyebrow{
  border-color: rgba(10,15,25,.10);
  background: rgba(10,15,25,.03);
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(110,168,255,.95);
  box-shadow: 0 0 0 4px rgba(110,168,255,.14);
}

.h1{
  margin: 14px 0 10px;
  font-size: 42px;
  font-weight: 980;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
@media (max-width: 520px){
  .h1{ font-size: 34px; }
}

.highlight{
  background: linear-gradient(90deg, rgba(110,168,255,.95), rgba(66,211,146,.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 820px;
}

.ctaRow{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top: 16px;
}

.trustStrip{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  font-size: 12px;
}
.trustPill{
  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,.03);
  white-space: nowrap;
}
html:not(.dark) .trustPill{
  border-color: rgba(10,15,25,.10);
  background: rgba(10,15,25,.03);
}

.chips{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.chip{
  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,.03);
  color: var(--muted);
  font-weight: 850;
  font-size: 12px;
  white-space: nowrap;
}
html:not(.dark) .chip{
  border-color: rgba(10,15,25,.10);
  background: rgba(10,15,25,.03);
}

.hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:start;
  margin-top: 18px;
}
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
}

.heroCard{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}
html:not(.dark) .heroCard{
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
}
.heroCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(520px 240px at 18% 10%, rgba(110,168,255,.22), transparent 60%),
    radial-gradient(520px 240px at 82% 0%, rgba(66,211,146,.12), transparent 60%);
  opacity: .9;
  pointer-events:none;
}
.heroCard .inner{
  position: relative;
  padding: 16px;
}
.kicker{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 950;
}
.cardTitle{
  margin: 8px 0 8px;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.01em;
}
.cardText{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* list styles used in index */
.list{
  margin: 12px 0 0;
  padding: 0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
html:not(.dark) .li{
  border-color: rgba(10,15,25,.10);
  background: rgba(10,15,25,.03);
}
.tick{
  width: 24px; height: 24px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(66,211,146,.14);
  border: 1px solid rgba(66,211,146,.24);
  flex: 0 0 auto;
  margin-top: 1px;
}
.tick svg{ width: 14px; height: 14px; fill: rgba(66,211,146,.95); }

/* step list used in product */
.stepList{
  margin: 12px 0 0;
  padding: 0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.step{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
html:not(.dark) .step{
  border-color: rgba(10,15,25,.10);
  background: rgba(10,15,25,.03);
}
.num{
  width: 26px; height: 26px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(110,168,255,.14);
  border: 1px solid rgba(110,168,255,.24);
  color: var(--text);
  font-weight: 950;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* SECTIONS */
.section{
  padding: 34px 0;
}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.h2{
  margin: 10px 0 0;
  font-size: 28px;
  font-weight: 980;
  letter-spacing: -0.01em;
}

.lead{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 900px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
html:not(.dark) .card{
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
}
.cardPad{ padding: 14px; }
.card h3{
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 950;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* PRICING (index uses this) */
.pricing{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 980px){
  .pricing{ grid-template-columns: 1fr; }
}

.price{
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
html:not(.dark) .price{
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
}

.priceTop{
  padding: 14px;
  border-bottom: 1px solid var(--border);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(110,168,255,.12);
  white-space: nowrap;
  color: var(--text);
  font-weight: 900;
}
.priceName{
  font-size: 16px;
  font-weight: 980;
  margin: 6px 0 4px;
}
.priceSub{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.priceBody{ padding: 14px; }
.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 13px;
}

/* NOTICE */
.notice{
  margin-top: 14px;
  border-radius: 20px;
  border: 1px solid rgba(110,168,255,.20);
  background:
    radial-gradient(520px 240px at 20% 0%, rgba(110,168,255,.14), transparent 60%),
    rgba(255,255,255,.03);
  padding: 14px;
  box-shadow: var(--shadow2);
}
html:not(.dark) .notice{
  border-color: rgba(10,15,25,.12);
  background:
    radial-gradient(520px 240px at 20% 0%, rgba(110,168,255,.10), transparent 60%),
    rgba(10,15,25,.02);
}
.notice h3{
  margin:0 0 8px;
  font-size: 15px;
  font-weight: 980;
}
.notice p{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

/* Accordion used on product */
.accordion{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}
details{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
html:not(.dark) details{
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
}
summary{
  cursor:pointer;
  padding: 14px 14px;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-weight: 950;
  font-size: 14px;
}
summary::-webkit-details-marker{ display:none; }
.sumRight{
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detailBody{
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* FOOTER */
.footer{
  margin-top: 34px;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: 12px;
}
html:not(.dark) .footer{ border-top-color: rgba(10,15,25,.10); }

.footerInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footerLinks{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}
.footerLinks a{
  text-decoration:none;
  color: inherit;
  border-bottom: 1px dashed transparent;
}
.footerLinks a:hover{
  color: var(--text);
  border-bottom-color: rgba(110,168,255,.45);
}

.social{
  display:flex;
  gap: 10px;
  align-items:center;
}
.social a{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
html:not(.dark) .social a{
  border-color: rgba(10,15,25,.12);
  background: rgba(10,15,25,.03);
}
.social a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(110,168,255,.35);
}
.social svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--text);
  opacity: .9;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .btn, .navA, .iconBtn, .social a{ transition:none; }
}
