:root{
  --bg:#0b0c0f;
  --panel:#11131a;
  --text:#f2f4f8;
  --muted:#b9c0cf;
  --line:#24283a;
  --accent:#ffcc66;
  --radius:18px;
}

/* ================= GLOBAL ================= */
*{ box-sizing:border-box; }

html, body{
  height:100%;
}

body{
  margin:0 !important;
  padding:0 !important;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{ text-decoration:none; color:inherit; }

.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:20px;
}

.muted{ color:var(--muted); }

/* ================= HEADER ================= */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,12,15,.9);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(120%) blur(6px);
}

.header-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
  min-width:0;
}

.logo-img{
  height:36px;
  width:auto;
  border-radius:6px;
  display:block;
  flex:0 0 auto;
}

.brand strong{
  line-height:1.1;
  letter-spacing:.4px;
}

.brand .muted{
  font-size:14px;
  line-height:1.1;
}

/* (Optional nav support if you add it back) */
.nav{
  display:flex;
  gap:14px;
  align-items:center;
}
.nav a{
  color:var(--muted);
}
.nav a:hover{
  color:var(--text);
}

/* ================= EXIT INTENT BANNER ================= */
.exit-banner{
  width:100%;
  background:#1a1c22;
  color:#f2f4f8;
  text-align:center;
  padding:10px 16px;
  font-size:14px;
  font-weight:600;
  border-bottom:1px solid #24283a;
}

.exit-banner strong{
  font-weight:900;
}

.exit-banner .coupon{
  color:#4ade80;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing:1px;
}

.exit-banner .wrap{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

/* ================= SALES BANNER ================= */
.sales-banner{
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,0.02);
}

.sales-banner .wrap{
  /* LEFT ALIGNED */
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  text-align:left;
  padding-top:10px;
  padding-bottom:10px;
  font-size:14px;
  color:var(--muted);
}

.stars{
  color:var(--accent);
  font-weight:900;
}

.divider{
  opacity:.6;
}

/* NEW VERIFIED PILL (checkmark + Verified together) */
.verified{
  display:inline-flex;
  align-items:center;
  gap:1px;
  margin-left:1px;
  font-size:11px;
  font-weight:800;
  border-radius:999px;
  background:#1f8f5f22;
  color:#7be0b5;
  vertical-align:middle;
}

.verified .check{
  color:#4ade80;
  font-size:13px;
  line-height:1;
}

/* ================= HERO ================= */
.hero{
  padding:40px 0 20px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
}

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
}

h1{
  font-size:42px;
  margin:0;
  letter-spacing:.2px;
}

h2{
  margin:10px 0 12px;
  letter-spacing:.2px;
}

/* ================= ROTATING REASONS ================= */
.reason-rotator{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:18px;
  margin-bottom:6px;
}

.reason-text{
  min-width:260px;
  text-align:center;
  font-weight:800;
  font-size:18px;
}

.arrow{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background:none;
  color:var(--text);
  font-size:22px;
  cursor:pointer;
  display:grid;
  place-items:center;
  user-select:none;
}

.arrow:hover{
  background:rgba(255,255,255,.08);
}

.arrow:active{
  transform:translateY(1px);
}

/* ================= PRODUCTS ================= */
.products{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:20px;
}

@media (max-width:900px){
  .products{ grid-template-columns:1fr; }
}

.product{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
}

@media (max-width:700px){
  .product{ grid-template-columns:1fr; }
}

/* ================= IMAGES + ZOOM ================= */
.img-wrap,
.compare{
  height:240px;
  overflow:hidden;
  border-bottom:1px solid var(--line);
  cursor:zoom-in;
}

.img-wrap img,
.compare img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.img-wrap:hover img,
.compare:hover img{
  transform:scale(1.08);
}

/* ================= BEFORE / AFTER SLIDER ================= */
.compare{
  position:relative;
}

.compare img{
  position:absolute;
  inset:0;
}

.compare .after{
  clip-path:inset(0 0 0 50%);
}

.compare input{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  width:80%;
}

/* ================= PRODUCT BODY ================= */
.product-body{
  padding:16px;
}

.product-body p{
  margin:8px 0;
}

.price{
  font-size:22px;
  font-weight:900;
  margin-top:10px;
  margin-bottom:8px;
}

.price span{
  text-decoration:line-through;
  color:var(--muted);
  font-size:14px;
  margin-right:6px;
}

/* ================= BADGES ================= */
.condition{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
}

.excellent{ background:#8be28b25; color:#8be28b; }
.very-good{ background:#ffcc6625; color:#ffcc66; }
.good{ background:#ff996625; color:#ff9966; }

.specific-badge{
  display:inline-block;
  margin:6px 0 8px;
  padding:6px 12px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.6px;
  border-radius:999px;
  background:linear-gradient(135deg,#ffcc66,#ff9966);
  color:#000;
}

/* ================= BUY NOW ================= */
.buy-now{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:12px 0 8px;
  padding:14px 22px;
  border-radius:14px;
  background:#3d95ce;
  color:#ffffff !important;
  font-weight:900;
  font-size:16px;
  text-decoration:none;
  cursor:pointer;
  border:none;
  appearance:none;
  -webkit-appearance:none;
  user-select:none;
}

.buy-now:hover{
  background:#337fb1;
}

.buy-now:active{
  transform:translateY(1px);
}

/* ================= VENMO QR ================= */
.venmo-box{
  margin-top:6px;
  text-align:left;
}

.venmo-box img{
  width:70px;
  height:70px;
  border-radius:10px;
  background:#ffffff;
  padding:4px;
  display:block;
  margin:0;
}

/* ================= SOCIAL PROOF ================= */
.social-proof{
  margin-top:8px;
  font-size:13px;
  color:var(--muted);
}

.social-proof span{
  display:block;
}

/* ================= DELIVERY ================= */
.delivery-line{
  margin-top:10px;
  display:block;
  color:var(--accent);
  font-weight:800;
  font-size:14px;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ================= FAQ ================= */
#faq p{
  color:var(--muted);
  line-height:1.55;
}
#faq strong{
  color:var(--text);
}

/* ================= FOOTER ================= */
footer{
  padding:40px 20px;
  color:var(--muted);
  text-align:center;
  border-top:1px solid var(--line);
}

/* ================= AI CHAT (VISIBLE + FIXED) ================= */

/* Inline chat (above FAQ) overrides the fixed widget styles */
#chat-widget.static-chat{
  position:relative !important;
  bottom:auto !important;
  right:auto !important;
  width:100% !important;
  height:360px !important;
  display:flex !important;
  flex-direction:column !important;
  box-shadow:0 14px 40px rgba(0,0,0,.25);
}

#chat-toggle{ display:none; } /* no floating button when using inline chat */

#chat-toggle{
  position:fixed;
  bottom:18px;
  right:18px;
  background:#3d95ce;
  color:#fff;
  padding:14px 18px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  z-index:1000;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

#chat-widget{
  position:fixed;
  bottom:90px;
  right:18px;
  width:320px;
  height:420px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  display:none;
  flex-direction:column;
  z-index:1000;
  box-shadow:0 14px 40px rgba(0,0,0,.45);
}

#chat-header{
  padding:12px 14px;
  font-weight:900;
  background:#ffffff08;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-shrink:0;
  border-top-left-radius:16px;
  border-top-right-radius:16px;
}

#chat-close{
  cursor:pointer;
  font-size:20px;
  line-height:1;
  padding:2px 8px;
  border-radius:10px;
}
#chat-close:hover{
  background:rgba(255,255,255,.08);
}

#chat-messages{
  flex:1;
  padding:12px;
  overflow-y:auto;
  font-size:14px;
}

.chat-user{
  text-align:right;
  margin-bottom:8px;
  color:#9ad1ff;
  font-weight:600;
  opacity:.9;
  white-space:pre-wrap;
}

.chat-ai{
  margin-bottom:10px;
  color:var(--text);
  white-space:pre-wrap;
}

.typing{
  opacity:.65;
  font-style:italic;
}

#chat-input{
  display:flex;
  border-top:1px solid var(--line);
  flex-shrink:0;
}

#chat-input input{
  flex:1;
  padding:10px 12px;
  background:none;
  border:none;
  color:#fff;
  outline:none;
}

#chat-input button{
  padding:10px 14px;
  background:#3d95ce;
  border:none;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
#chat-input button:hover{
  background:#337fb1;
}

@media (max-width:600px){
  #chat-widget{
    width:90%;
    right:5%;
  }
}

/* ================= MOBILE HERO SIZE FIX ================= */
@media (max-width: 600px){

  /* Match hero image height to product images */
  .hero .img-wrap{
    height:200px;
  }

  /* Prevent oversized text pushing content */
  .reason-text{
    font-size:16px;
    min-width:auto;
  }

  /* Tighten hero spacing */
  .hero{
    padding:20px 0 10px;
  }

  .reason-rotator{
    margin-top:10px;
    margin-bottom:0;
  }
}

/* ================= MOBILE NAV FIX ================= */
@media (max-width: 600px){

  .header-row{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .nav{
    width:100%;
    display:flex;
    justify-content:space-between;
    gap:12px;
    font-size:14px;
  }

  .nav a{
    white-space:nowrap;
  }
}

.compare{
  position:relative;
}
.compare img{
  position:absolute;
  inset:0;
}
.compare input{
  z-index:10;
}

/* ================= FOUNDER SECTION ================= */

.founder{
  padding-top:20px;
  padding-bottom:20px;
}

.founder-grid{
  display:flex;
  align-items:flex-start;
  gap:20px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
}

/* SMALL IMAGE ON LEFT */
.founder-photo{
  flex:0 0 240px;          /* fixed small width */
  height:320px;           /* much smaller than product images */
  overflow:hidden;
  border-radius:12px;
}

.founder-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* TEXT TAKES THE SPACE */
.founder-text{
  flex:1;
}

.founder-text p{
  margin:0;
  font-size:16px;
  line-height:1.55;
  color:var(--text);
}

/* ================= MOBILE ================= */
@media (max-width: 600px){
  .founder-grid{
    align-items:center;
    gap:14px;
  }

  .founder-photo{
    flex:0 0 90px;
    height:120px;
  }

  .founder-text p{
    font-size:15px;
  }
}
