/*
Theme Name: NicheLink Child
Template: twentytwentyfive
Version: 1.2
*/

/* -------- Tokens -------- */
:root{
  --bg-start:#0e1317; --bg-mid:#0b1116; --bg-end:#0a0f14;
  --text:#d8dbd6; --muted:#aeb3b0;
  --accent:#e5b548; --accent-2:#f0c85a;
  --glass-bg:255 255 255 / 5%; --glass-brd:255 255 255 / 10%;
  --maxw:1200px; --radius-xl:20px; --radius-lg:16px; --radius-md:12px;
  --shadow-1:0 10px 30px rgba(0,0,0,.25); --shadow-2:0 20px 60px rgba(0,0,0,.35);
}

/* -------- Base -------- */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text); line-height:1.6;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(229,181,72,.18), transparent 60%),
    radial-gradient(800px 600px at 15% 20%, rgba(240,200,90,.08), transparent 60%),
    linear-gradient(180deg,var(--bg-start),var(--bg-mid) 45%,var(--bg-end));
  background-attachment:fixed;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(100%,var(--maxw));margin:0 auto;padding:0 24px}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* -------- Header / Nav -------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(10,13,26,.45);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;gap:12px;align-items:center;font-weight:800;letter-spacing:.5px}
.brand-logo{height:28px;width:auto;display:block}

.nav-links{display:flex;gap:20px;align-items:center}
.nav-list{list-style:none;display:flex;gap:20px;align-items:center;margin:0;padding:0}

.menu-toggle{
  display:none; width:38px; height:38px; border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  align-items:center; justify-content:center; gap:4px; cursor:pointer;
}
.menu-toggle .bar{display:block;width:20px;height:2px;background:var(--text)}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;
  padding:0 16px;border-radius:12px;border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);color:var(--text);font-weight:600;transition:all .25s;
}
.btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.2);
}
.btn.primary{
  background:linear-gradient(180deg,var(--accent-2),var(--accent));
  border-color:rgba(255,255,255,.18);
  box-shadow:var(--shadow-1);
  color:#141414;
}

/* -------- Hero (home page generic) -------- */
.hero{
  padding:96px 0 56px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.hero p.sub{
  color:var(--muted);
  font-size:clamp(16px,2.2vw,22px);
  max-width:900px;
  margin:0 auto 28px;
}
.hero-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* Title + logo inline (home) */
.hero-title-row{
  display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:nowrap;
}
.hero-logo{
  height:90px; width:auto; opacity:1;
  filter:drop-shadow(0 6px 18px rgba(229,181,72,.25));
}
.hero h1{
  font-size:clamp(36px,7vw,72px);
  line-height:1.05;
  letter-spacing:-.02em;
  margin:0;
}

/* -------- Generic sections -------- */
section{padding:64px 0}
.section-title{
  font-size:clamp(26px,4vw,40px);
  margin:0 0 22px;
  letter-spacing:-.01em;
}
.two-col{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
}

.about-card{
  border-radius:var(--radius-xl);
  background:rgba(var(--glass-bg));
  border:1px solid rgba(var(--glass-brd));
  box-shadow:var(--shadow-1);
  padding:28px;
}
.about-card p{color:var(--muted)}

/* ===== Phone as interactive app launcher ===== */
.mock-device{
  aspect-ratio:10/16; border-radius:26px; padding:10px;
  background:
    radial-gradient(120% 100% at 50% -20%, rgba(229,181,72,.08), transparent 40%),
    linear-gradient(180deg,#0f1024 0%, #141735 60%, #0f1222 100%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:var(--shadow-2);
  display:flex; align-items:center; justify-content:center;
}
.phone-frame{
  position:relative; width:100%; height:100%; border-radius:22px; overflow:hidden;
  background:linear-gradient(180deg, rgba(12,14,24,.6), rgba(10,12,20,.9));
  border:1px solid rgba(255,255,255,.08);
  display:flex; flex-direction:column;
}
.phone-status{
  display:flex; align-items:center; justify-content:flex-start; gap:6px;
  height:36px; padding:0 12px; color:rgba(255,255,255,.6);
  font-size:12px; letter-spacing:.3px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.phone-status .dot{
  width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.4);display:inline-block;
}

.phone-apps{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
  padding:14px; overflow:auto; flex:1;
}
.app-tile{
  display:flex; flex-direction:column; align-items:center; gap:6px;
  text-decoration:none; color:var(--text); opacity:.95;
  transition:transform .15s ease, opacity .15s ease, background .15s ease;
  border-radius:14px; padding:8px 4px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
}
.app-tile:hover{transform:translateY(-2px);opacity:1;background:rgba(255,255,255,.06)}
.app-tile:active{transform:translateY(0);opacity:.9}

.tile-icon{
  width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-size:26px;
  background:linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 6px 16px rgba(0,0,0,.35);
}
.tile-label{font-size:12px;color:var(--muted);text-align:center}

.phone-dock{display:flex;justify-content:center;align-items:center;padding:10px}
.dock-pill{width:40%;height:5px;border-radius:999px;background:rgba(255,255,255,.25)}

.mock-screen{display:none}

/* -------- Apps grid -------- */
.apps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.app-card{
  padding:22px;border-radius:var(--radius-lg);background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);box-shadow:var(--shadow-1);backdrop-filter:blur(10px);
  transition:transform .25s,background .25s,border-color .25s;
}
.app-card:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
}
.app-head{
  display:flex;align-items:center;gap:12px;
  font-weight:800;font-size:18px;margin-bottom:10px;
}
.app-icon{
  width:36px;height:36px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.1));
  border:1px solid rgba(255,255,255,.2);
}
.app-desc{color:var(--muted);min-height:64px}
.app-actions{display:flex;justify-content:space-between;gap:10px;margin-top:14px}
.link{display:inline-flex;align-items:center;gap:8px;font-weight:600;opacity:.9}
.link:hover{opacity:1;text-decoration:underline}

/* -------- Values & contact -------- */
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.value-card{
  padding:22px;border-radius:var(--radius-lg);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  text-align:center;
}
.value-card h4{margin:8px 0 6px}
.contact{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.form{
  padding:22px;border-radius:var(--radius-lg);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
input,textarea{
  width:100%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);
  color:var(--text);border-radius:10px;padding:12px;
}
textarea{min-height:120px;resize:vertical}

/* -------- Footer -------- */
footer{
  padding:28px 0;
  border-top:1px solid rgba(255,255,255,.08);
  color:#c4c8e8;
  font-size:14px;
}
.ft{
  display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;
}
.ft ul{list-style:none;display:flex;gap:16px;margin:0;padding:0}
.ft a{opacity:.9}
.ft a:hover{opacity:1;text-decoration:underline}

/* -------- Responsive (global) -------- */
@media (max-width:1024px){
  .two-col{grid-template-columns:1fr}
  .apps-grid{grid-template-columns:1fr 1fr}
  .values{grid-template-columns:1fr 1fr 1fr}
  .contact{grid-template-columns:1fr}
}

/* Mobile menu + tighter layout */
@media (max-width:768px){
  .container{padding:0 16px}
  .hero{padding:72px 0 40px}
  .hero h1{font-size: clamp(28px, 8vw, 44px)}
  .hero p.sub{font-size: clamp(14px, 4.2vw, 18px)}

  .apps-grid{grid-template-columns:1fr}
  .menu-toggle{display:inline-flex}

  .nav-list{
    position: fixed; inset: 64px 12px auto 12px;
    background: rgba(16,18,22,.96); backdrop-filter: blur(10px);
    border:1px solid rgba(255,255,255,.1); border-radius:14px;
    padding:12px; gap:10px; flex-direction:column; display:none; z-index:60;
  }
  .nav-list.open{display:flex}
  .nav .btn{width:100%; justify-content:center}
  .nav .link{
    width:100%; padding:10px 8px; text-align:center;
    border-radius:10px; background:rgba(255,255,255,.04);
  }

  .phone-apps{grid-template-columns:repeat(3,1fr)}
}

/* very small phones */
@media (max-width:640px){
  .values{grid-template-columns:1fr}
  .hero{padding-top:84px}
  .hero-logo{height:48px}
  .phone-apps{grid-template-columns:repeat(3,1fr); gap:12px}
  .tile-icon{width:42px;height:42px;font-size:22px}
  .tile-label{font-size:11px}
}
@media (max-width:380px){
  .hero-logo{height:44px}
  .btn{height:40px;padding:0 14px}
}

/* =========================================================
   ShelfPro landing page styles (new layout, option A)
   ========================================================= */

/* Hero wrapper */
.shelfpro-hero{
  background: radial-gradient(circle at top left, var(--bg-mid), var(--bg-start), var(--bg-end));
  padding:96px 0 48px;
}
.shelfpro-hero-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

/* LEFT: logo, title, copy, buttons */
.shelfpro-hero-left{
  flex:1.4;
  min-width:0;
}

/* RIGHT: store badges */
.shelfpro-hero-right{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}

/* Logo next to title, bottom-aligned */
.shelfpro-hero-logo-title{
  display:flex;
  align-items:flex-end;
  gap:18px;
}

.shelfpro-logo-large{
  height:96px;
  width:auto;
  flex-shrink:0;
  filter:drop-shadow(0 6px 16px rgba(229,181,72,.35));
  margin-bottom:-4px; /* aligns bottom with title baseline */
}

.shelfpro-title-block{
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:left;
}

.shelfpro-title{
  font-size:clamp(32px,6vw,64px);
  margin:0;
  color:var(--text);
}
.shelfpro-tagline{
  margin:6px 0 0;
  font-size:16px;
  color:var(--muted);
}
.shelfpro-subtitle{
  max-width:680px;
  margin:18px 0 20px;
  font-size:15px;
  line-height:1.7;
  color:var(--muted);
}

.shelfpro-hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* Badges */
.shelfpro-available-label{
  font-size:13px;
  color:var(--muted);
  opacity:.9;
}
.shelfpro-badge-row{
  display:flex;
  gap:10px;
  align-items:center;
}
.store-badge{
  width:150px;
  height:auto;
  display:block;
}

/* "Built by Retail Pros" strip under hero */
.shelfpro-built{
  padding:16px 0 40px;
  text-align:center;
}
.shelfpro-built-title{
  margin:0 0 8px;
  font-size:18px;
}
.shelfpro-built-text{
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px;
}
.shelfpro-built-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:4px;
  color:var(--muted);
  font-size:14px;
}

/* Main ShelfPro content */
.shelfpro-content{
  background:linear-gradient(to bottom, var(--bg-mid), var(--bg-end));
  padding:56px 0 80px;
}
.shelfpro-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr);
  gap:32px;
  align-items:flex-start;
}
.shelfpro-stack{
  margin-top:40px;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr);
  gap:24px;
}

.shelfpro-card{
  background:rgba(12,16,20,.96);
  border-radius:var(--radius-xl);
  padding:24px 24px 20px;
  box-shadow:var(--shadow-1);
  border:1px solid rgba(255,255,255,.06);
}
.shelfpro-card h2{
  margin-top:0;
  margin-bottom:12px;
  font-size:22px;
  color:var(--text);
}
.shelfpro-card h3{
  margin-top:20px;
  margin-bottom:8px;
  font-size:17px;
  color:var(--text);
}
.shelfpro-card p{
  margin:0 0 8px;
  font-size:15px;
  line-height:1.7;
  color:var(--muted);
}
.shelfpro-card ul{
  margin:0 0 4px 1.1em;
  padding:0;
}
.shelfpro-card li{
  margin-bottom:4px;
  font-size:15px;
  line-height:1.6;
  color:var(--muted);
}
.shelfpro-card a{
  color:var(--accent);
  text-decoration:underline;
}

.shelfpro-note{
  margin-top:6px;
  font-size:14px;
  color:var(--muted);
}
.shelfpro-availability{
  margin:8px 0 0;
  font-size:14px;
  color:var(--muted);
}

/* ShelfPro responsive tweaks */
@media (max-width:900px){
  .shelfpro-hero-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .shelfpro-hero-right{
    align-items:flex-start;
  }
  .shelfpro-grid{
    grid-template-columns:1fr;
  }
  .shelfpro-stack{
    grid-template-columns:1fr;
  }
  .shelfpro-hero{
    padding:80px 0 40px;
  }
}

@media (max-width:640px){
  .shelfpro-title-block{text-align:left}
  .shelfpro-built-text{font-size:13px}
  .shelfpro-subtitle{font-size:14px}
}
