/* ============================================================
   Social Media Globe — Design tokens
   Concept: a live "global dispatch" board. The whole point of
   this business is that real people, in real places, are doing
   real work — so the page proves it with a live-feed signature
   element instead of just claiming it in a headline.
   ============================================================ */

:root{
  --ink:        #0B1220;
  --ink-panel:  #121B2E;
  --ink-panel-2:#182338;
  --line:       #26314A;
  --text:       #F1EFEA;
  --text-mute:  #8B96A8;
  --gold:       #E8A33D;
  --gold-dim:   #B9822F;
  --teal:       #4FD1C5;
  --danger:     #E8654F;

  --display: "Space Grotesk", "Arial Narrow", sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    "IBM Plex Mono", "Courier New", monospace;

  --radius: 10px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1,h2,h3{
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,163,61,.18);
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space: nowrap;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ outline: 2px solid var(--teal); outline-offset: 3px; }

.btn-primary{ background: var(--gold); color: #1A1300; }
.btn-primary:hover{ background: #F0AE4E; }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--teal); color: var(--teal); }

.btn-whatsapp{
  background: #1E2A22;
  color: #6FE38A;
  border-color: #2B4331;
}
.btn-whatsapp:hover{ border-color: #6FE38A; }

.btn-card{
  background: #1a2436;
  color: var(--text);
  border-color: var(--line);
}
.btn-card:hover{ border-color: var(--teal); color: var(--teal); }

/* ---------------- Header ---------------- */
header{
  position: sticky; top:0; z-index: 50;
  background: rgba(11,18,32,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
}
.brand .brand-mark{
  width: 28px; height: 28px;
  flex-shrink:0;
}
.nav-links{
  display:flex; align-items:center; gap: 22px;
  font-size: 14px; color: var(--text-mute);
}
.nav-links a{ white-space: nowrap; }
.nav-links a:hover{ color: var(--text); }
.nav-cta{ display:flex; gap:10px; white-space:nowrap; }

.nav-toggle{ display:none; }

@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-links-simple{ display:flex !important; gap: 16px; flex-wrap: wrap; }
  .nav-toggle{
    display:inline-flex; background:none; border:1px solid var(--line);
    border-radius: 8px; padding: 8px 10px; color: var(--text);
  }
}

/* ---------------- Hero ---------------- */
.hero{
  padding: 84px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute; inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(ellipse at top, rgba(232,163,61,.14), transparent 60%);
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items:center;
  position:relative;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
}

.hero h1{
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
}
.hero h1 em{
  font-style: normal;
  color: var(--gold);
}
.hero p.lede{
  font-size: 17px;
  color: var(--text-mute);
  max-width: 46ch;
  margin: 18px 0 30px;
}
.hero-ctas{ display:flex; gap: 14px; flex-wrap: wrap; }

.hero-note{
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-mute);
}
.hero-note b{ color: var(--teal); }

/* Live feed signature element */
.feed{
  background: var(--ink-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feed-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.feed-head .live{
  display:flex; align-items:center; gap:6px;
  color: #6FE38A;
}
.feed-head .live .pulse{
  width:6px; height:6px; border-radius:50%;
  background:#6FE38A;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity:1; box-shadow:0 0 0 0 rgba(111,227,138,.5); }
  50%{ opacity:.55; box-shadow:0 0 0 5px rgba(111,227,138,0); }
}
.feed-body{ max-height: 300px; overflow: hidden; position: relative; }
.feed-body::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:40px;
  background: linear-gradient(transparent, var(--ink-panel));
  pointer-events:none;
}
.feed-list{ display:flex; flex-direction:column; }
.feed-row{
  display:grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding: 11px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--ink-panel-2);
  align-items:center;
}
.feed-row .t{ font-family: var(--mono); color: var(--text-mute); font-size: 11.5px; }
.feed-row .loc{ font-family: var(--mono); color: var(--teal); font-size: 11.5px; white-space:nowrap; }
.feed-row .msg b{ color: var(--text); }
.feed-row .msg{ color: var(--text-mute); }

/* ---------------- Trust band ---------------- */
.trust{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-panel);
  padding: 34px 0;
}
.trust-grid{
  display:grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
  align-items:center;
}
@media (max-width: 800px){
  .trust-grid{ grid-template-columns: 1fr; }
}
.trust-lead{ font-size: 15px; color: var(--text); max-width: 34ch; }
.trust-lead b{ color: var(--gold); }
.stat b{
  display:block; font-family: var(--display); font-size: 28px; color: var(--text);
}
.stat span{ font-size: 12.5px; color: var(--text-mute); }

/* ---------------- Section shell ---------------- */
section{ padding: 74px 0; }
.section-head{ max-width: 62ch; margin-bottom: 40px; }
.section-head p{ color: var(--text-mute); font-size: 15.5px; }

/* ---------------- Services grid ---------------- */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .services-grid{ grid-template-columns: 1fr; } }

.service-card{
  background: var(--ink-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display:flex; flex-direction:column;
  transition: border-color .15s ease, transform .15s ease;
}
.service-card:hover{ border-color: var(--gold-dim); transform: translateY(-2px); }
.service-card .num{
  font-family: var(--mono); font-size: 12px; color: var(--gold);
  margin-bottom: 14px;
}
.card-icon{
  width: 52px; height: 52px;
  margin-bottom: 16px;
}
.service-card h3{ font-size: 18px; margin-bottom: 8px; }
.service-card p{ color: var(--text-mute); font-size: 14px; flex:1; }
.service-card a{
  margin-top: 16px; font-family: var(--mono); font-size: 12.5px;
  color: var(--teal); display:inline-flex; align-items:center; gap:6px;
}
.service-card a:hover{ text-decoration: underline; }

/* ---------------- Pricing blocks ---------------- */
.pricing-block{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-panel);
  margin-bottom: 18px;
  overflow: hidden;
  scroll-margin-top: 96px;
}
.pricing-block-head{
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display:flex; align-items:flex-start; justify-content:space-between; gap: 20px;
  flex-wrap: wrap;
}
.pricing-block-head h3{ font-size: 20px; margin-bottom: 4px; }
.pricing-block-head p{ color: var(--text-mute); font-size: 14px; max-width: 48ch; margin:0; }
.jarvis-art{ width: 160px; height: 120px; flex-shrink:0; }
@media (max-width: 620px){ .jarvis-art{ display:none; } }

.price-table{ width:100%; border-collapse: collapse; }
.price-table tr{ border-bottom: 1px solid var(--ink-panel-2); }
.price-table tr:last-child{ border-bottom:none; }
.price-table td{ padding: 15px 26px; font-size: 14.5px; }
.price-table td.item{ color: var(--text); }
.price-table td.amt{
  font-family: var(--mono); color: var(--gold); text-align:right; white-space:nowrap;
}
.price-table td.action{ text-align:right; white-space:nowrap; width: 1%; }

.mini-btn{
  font-family: var(--body); font-size: 12.5px; font-weight:600;
  padding: 7px 14px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--text);
  display:inline-block; white-space:nowrap;
}
.mini-btn:hover{ border-color: var(--gold); color: var(--gold); }

.pricing-note{
  padding: 16px 26px; font-size: 13px; color: var(--text-mute);
  background: var(--ink-panel-2);
  border-top: 1px solid var(--line);
}
.pricing-note b{ color: var(--teal); }

/* ---------------- How it works ---------------- */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px){ .steps{ grid-template-columns: 1fr; } }
.step{ border-left: 2px solid var(--gold-dim); padding-left: 18px; }
.step .n{ font-family: var(--mono); color: var(--gold); font-size: 13px; margin-bottom: 6px; display:block; }
.step h3{ font-size: 16px; }
.step p{ color: var(--text-mute); font-size: 14px; margin:0; }

/* ---------------- Inventory ---------------- */
.inventory-box{
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-align:center;
  background: var(--ink-panel);
}
.inventory-box p{ color: var(--text-mute); max-width: 50ch; margin: 8px auto 20px; }

/* ---------------- Contact / footer ---------------- */
.contact{
  background: var(--ink-panel);
  border-top: 1px solid var(--line);
}
.contact-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:center;
}
@media (max-width: 800px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact h2{ font-size: 30px; }
.contact p{ color: var(--text-mute); max-width: 44ch; }
.contact-ctas{ display:flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

.contact-card{
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.contact-row{
  display:flex; justify-content:space-between; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.contact-row:last-child{ border-bottom:none; }
.contact-row span:first-child{ color: var(--text-mute); }
.contact-row span:last-child{ font-family: var(--mono); color: var(--teal); }
.contact-row a{ color: var(--teal); }
.contact-row a:hover{ text-decoration: underline; }

.social-icons{ display:flex; gap: 10px; }
.social-icons a{
  width: 30px; height: 30px;
  display:inline-flex; align-items:center; justify-content:center;
  border: 1px solid var(--line); border-radius: 50%;
  font-family: var(--mono); font-size: 10.5px; font-weight:600;
  color: var(--text-mute) !important;
  letter-spacing: 0;
}
.social-icons a:hover{
  border-color: var(--gold); color: var(--gold) !important;
  text-decoration: none !important;
}

footer{
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--text-mute);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap: 10px;
}
footer a:hover{ color: var(--text); }

/* ---------------- Cart button (header) ---------------- */
.btn-cart{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  position: relative;
  padding: 10px 14px;
  font-size: 17px;
}
.btn-cart:hover{ border-color: var(--gold); color: var(--gold); }
.cart-count{
  background: var(--gold);
  color: #1A1300;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display:inline-flex; align-items:center; justify-content:center;
  padding: 0 4px;
}

/* ---------------- Add-to-cart buttons in tables ---------------- */
.mini-btn.add-cart{ border: 1px solid var(--line); background: transparent; cursor:pointer; }
.mini-btn.add-cart:hover{ border-color: var(--gold); color: var(--gold); }
.mini-btn.add-cart.in-cart{ border-color: #2B4331; color: #6FE38A; }

.qty-stepper{
  display:inline-flex; align-items:center; gap:10px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 6px;
}
.qty-stepper button{
  background: transparent; border:none; color: var(--text);
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 14px; cursor:pointer; line-height:1;
}
.qty-stepper button:hover{ background: var(--ink-panel-2); color: var(--gold); }
.qty-stepper span{ font-family: var(--mono); font-size: 13px; min-width: 14px; text-align:center; }

/* ---------------- Cart drawer ---------------- */
.cart-overlay{
  position: fixed; inset:0; background: rgba(0,0,0,.5);
  opacity:0; pointer-events:none; transition: opacity .2s ease;
  z-index: 90;
}
.cart-overlay.open{ opacity:1; pointer-events:auto; }

.cart-drawer{
  position: fixed; top:0; right:0; bottom:0;
  width: 380px; max-width: 92vw;
  background: var(--ink-panel);
  border-left: 1px solid var(--line);
  z-index: 100;
  display:flex; flex-direction:column;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.cart-drawer.open{ transform: translateX(0); }

.cart-drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.cart-drawer-head h3{ margin:0; font-size: 17px; }
.cart-close{
  background:none; border:1px solid var(--line); color: var(--text);
  width: 30px; height:30px; border-radius:50%; cursor:pointer;
}
.cart-close:hover{ border-color: var(--gold); color: var(--gold); }

.cart-items{ flex:1; overflow-y:auto; padding: 10px 22px; }
.cart-empty{ color: var(--text-mute); font-size: 14px; padding: 30px 0; text-align:center; }

.cart-item{
  display:flex; justify-content:space-between; gap:12px;
  padding: 16px 0; border-bottom: 1px solid var(--ink-panel-2);
}
.cart-item .ci-name{ font-size: 13.5px; color: var(--text); margin-bottom: 8px; }
.cart-item .ci-price{ font-family: var(--mono); color: var(--gold); font-size: 13px; }
.cart-item .ci-remove{
  background:none; border:none; color: var(--text-mute); cursor:pointer; font-size: 12px;
  text-decoration: underline; padding:0; margin-top:8px;
}
.cart-item .ci-remove:hover{ color: var(--danger); }
.cart-item .ci-right{ display:flex; flex-direction:column; align-items:flex-end; }

.cart-footer{
  border-top: 1px solid var(--line);
  padding: 18px 22px 22px;
}
.cart-total-row{
  display:flex; justify-content:space-between; align-items:baseline;
  font-family: var(--display); font-size: 20px; margin-bottom: 16px;
}
.cart-total-row span:last-child{ color: var(--gold); }
.cart-full{ width:100%; justify-content:center; margin-bottom:10px; }
.cart-hint{ font-size: 11.5px; color: var(--text-mute); margin: 10px 0 0; line-height:1.5; }

/* ---------------- Auth modal ---------------- */
.auth-overlay{
  position: fixed; inset:0; background: rgba(0,0,0,.6);
  opacity:0; pointer-events:none; transition: opacity .2s ease;
  z-index: 110;
}
.auth-overlay.open{ opacity:1; pointer-events:auto; }

.auth-modal{
  position: fixed; top:50%; left:50%;
  transform: translate(-50%,-50%) scale(0.96);
  width: 380px; max-width: 92vw;
  background: var(--ink-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  z-index: 120;
  opacity: 0; pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
}
.auth-modal.open{ opacity:1; pointer-events:auto; transform: translate(-50%,-50%) scale(1); }
.auth-modal .cart-close{ position:absolute; top:16px; right:16px; }

.auth-tabs{ display:flex; gap:8px; margin-bottom:20px; }
.auth-tab{
  flex:1; padding:10px; border-radius:999px; border:1px solid var(--line);
  background:transparent; color:var(--text-mute); font-size:13px; font-weight:600; cursor:pointer;
}
.auth-tab.active{ background: var(--gold); color:#1A1300; border-color: var(--gold); }

.auth-form{ display:flex; flex-direction:column; gap:14px; }
.auth-form[hidden]{ display:none; }
.auth-form label{ font-size:12.5px; color: var(--text-mute); display:flex; flex-direction:column; gap:6px; }
.auth-form input{
  background: var(--ink); border:1px solid var(--line); border-radius:8px;
  padding:11px 12px; color: var(--text); font-size:14px; font-family: var(--body);
}
.auth-form input:focus{ outline:2px solid var(--teal); outline-offset:1px; border-color: var(--teal); }
.auth-error{ color: var(--danger); font-size:12.5px; margin:0; min-height:1em; }
.auth-note{ color:#6FE38A; font-size:12.5px; margin:0; }

#paypal-button-container{ margin-bottom: 10px; min-height: 45px; }
.paypal-cards-badge{
  display:block; margin: 8px auto 4px; max-width: 220px;
  background: #F1EFEA; border-radius: 10px; padding: 6px 10px;
}
