/* ===== BASIC RESET & UTILITIES ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{
  background:var(--color-bg);
  color:var(--color-text);
  font-family:"Noto Sans", system-ui, sans-serif;
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

.container{max-width:1120px;margin:0 auto;padding-inline:1.25rem}
a{text-decoration:none;color:inherit}

/* ===== HEADER ===== */
.site-header{
  border-bottom: 1px solid var(--color-neutral-100);
  padding: 0.2rem 0;
  position: sticky;
  top: 0px;
  background: var(--color-bg);
  z-index: 100;
}
.nav-wrap{display:flex;align-items:center;justify-content:space-between}
.logo{font-size:1.125rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.nav-menu{display:flex;align-items:center;gap:1.75rem}
.nav-menu a{font-size:.95rem;opacity:.8;transition:opacity .2s}
.nav-menu a:hover{opacity:1}
.btn-outline{
  padding:.45rem 1.1rem;border:1px solid var(--color-neutral-300);
  border-radius:9999px;background:none;font-size:.9rem;cursor:pointer;
  transition:background .2s;
}
.btn-outline:hover{background:var(--color-neutral-100)}
.burger{display:none;border:0;background:none;cursor:pointer}
.burger span{display:block;width:20px;height:2px;background:var(--color-text);margin:4px 0}

/* ===== HERO ===== */
.hero{text-align:center;padding:3rem 0 4rem;border-bottom:1px solid var(--color-neutral-100)}
.eyebrow{font-size:.875rem;letter-spacing:2px;font-weight:500;text-transform:uppercase;margin-bottom:1.25rem;opacity:.6}
h1{font-size:clamp(2.5rem,5vw,3.2rem);line-height:1.15;font-weight:600;margin-bottom:1.1rem}
.subhead{font-size:1.05rem;max-width:640px;margin:0 auto 2.5rem;opacity:.8}

/* ===== PILL-STYLE FEATURE CARDS ===== */
.feature-grid{
  display:flex;flex-wrap:wrap;justify-content:center;
  gap:1rem;margin:1.5rem auto 3rem;
}
.feature-grid .card{
  display:inline-block;
  padding:.55rem 1.25rem;
  border-radius:9999px;
  font-size:.9rem;font-weight:500;
  color:var(--color-text);
  transition:background .25s,transform .25s,box-shadow .25s;
}
.feature-grid .card:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}
.feature-grid .icon{display:none} /* safety-net */

/* Pastel palette */
.feature-grid .card:nth-child(1){background:#E3F2FD}
.feature-grid .card:nth-child(1):hover{background:#BBDEFB}
.feature-grid .card:nth-child(2){background:#E8F5E9}
.feature-grid .card:nth-child(2):hover{background:#C8E6C9}
.feature-grid .card:nth-child(3){background:#FFFDE7}
.feature-grid .card:nth-child(3):hover{background:#FFF9C4}
.feature-grid .card:nth-child(4){background:#FFF3E0}
.feature-grid .card:nth-child(4):hover{background:#FFE0B2}
.feature-grid .card:nth-child(5){background:#F3E5F5}
.feature-grid .card:nth-child(5):hover{background:#E1BEE7}

/* ===== CTA BUTTON ===== */
.btn-primary{
  background:var(--color-primary);color:#fff;
  padding:.75rem 2.4rem;border:none;border-radius:9999px;
  font-size:1rem;cursor:pointer;transition:background .2s;
}
.btn-primary:hover{background:var(--color-primary-hover)}
.btn-primary:active{background:var(--color-primary-active)}
.cta{margin:0 auto 2rem}

/* ===== PERKS ===== */
.perk-list{
  display:flex;flex-wrap:wrap;justify-content:center;
  gap:1.5rem;font-size:.9rem;opacity:.85;margin-bottom:3.5rem;
}

/* ===== ACCESSIBILITY ===== */
.visually-hidden{
  position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* ===== FORM ===== */
:root{--tweet-control-h:52px}

.tweet-form{max-width:640px;margin:2.75rem auto 3.5rem;text-align:center}
.tweet-form .form-row{
  display:flex;gap:1rem;align-items:center;justify-content:center;
}

/* URL pill */
.tweet-form .input-wrap{
  flex:1;
  display:flex;align-items:center;gap:.65rem;
  height:var(--tweet-control-h);
  background:var(--color-neutral-100);
  border:1px solid #5F636833;border-radius:9999px;
  padding: 12px 1.95rem;
  box-shadow:0 1px 3px rgba(0,0,0,.05);
  transition:border .2s,box-shadow .2s;
  min-width:250px;
}
.tweet-form:focus-within .input-wrap{
  border-color:var(--color-primary);
  box-shadow:0 0 0 3px rgba(21,101,192,.2);
}
.tweet-form svg{color:var(--color-primary);flex-shrink:0}
.tweet-form input{
  flex:1;border:0;background:none;
  font-size:.95rem;color:var(--color-text);outline:none;
}

/* CTA button next to field */
.form-btn{
  height:var(--tweet-control-h);
  display:inline-flex;align-items:center;justify-content:center;
  padding:0 1.6rem;border-radius:9999px;white-space:nowrap;
}

/* ===== BUTTON ANIMATION ===== */
.form-btn.loading{
  position:relative;
  color:#fff;
  font-size:0;
  pointer-events:none;
}
.form-btn.loading::after{
  content:'';
  position:absolute;
  width:20px;
  height:20px;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M20.663 3H17.53L12.84 9.172 7.947 3H2l7.22 9.007L2 21h3.134l4.956-6.255L16.053 21H22l-7.54-9.474L20.663 3Z"/></svg>');
  animation:rotate 1.2s linear infinite;
}
.form-btn.success::after{
  background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path fill="%23119775" d="M20 6L9 17l-5-5"/></svg>');
  animation:none;
}
.form-btn.error::after{
  background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path fill="%23D32F2F" d="M20.663 3H17.53L12.84 9.172 7.947 3H2l7.22 9.007L2 21h3.134l4.956-6.255L16.053 21H22l-7.54-9.474L20.663 3Z"/></svg>');
  animation:shake 0.5s ease-in-out;
}
@keyframes rotate{to{transform:translate(-50%, -50%) rotate(360deg)}}
@keyframes shake{
  0%, 100%{transform:translate(-50%, -50%)}
  25%{transform:translate(-50%, -50%) translateX(-3px)}
  75%{transform:translate(-50%, -50%) translateX(3px)}
}

/* ===== STATUS MESSAGE ===== */
.status-wrap{
  max-width:640px;
  margin:1.5rem auto 0;
}
.status-msg{
  display:flex;
  align-items:center;
  gap:0.75rem;
  font-size:1rem;
  font-weight:500;
  padding:0.75rem 1.25rem;
  border-radius:8px;
  opacity:0;
  transform:scale(0.95) translateY(6px);
  transition:opacity 0.3s ease, transform 0.3s ease;
}
.status-wrap.show .status-msg{
  opacity:1;
  transform:scale(1) translateY(0);
}
.status-wrap.success .status-msg{
  background:#E8F5E9;
  color:#119775;
}
.status-wrap.error .status-msg{
  background:#FFEBEE;
  color:#D32F2F;
}
.status-wrap.success .status-msg::before{
  content:'';
  width:16px;
  height:16px;
  background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path fill="%23119775" d="M20 6L9 17l-5-5"/></svg>');
}
.status-wrap.error .status-msg::before{
  content:'';
  width:16px;
  height:16px;
  background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path fill="%23D32F2F" d="M20.663 3H17.53L12.84 9.172 7.947 3H2l7.22 9.007L2 21h3.134l4.956-6.255L16.053 21H22l-7.54-9.474L20.663 3Z"/></svg>');
}
.status-msg .clock-icon{
  flex-shrink:0;
  color:red;
  width:16px;
  height:16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width:768px){
  .nav-menu a{display:none}
  .burger{display:inline-block}
}
@media (max-width:480px){
  .tweet-form .form-row{flex-direction:column;gap:1rem}
  .input-wrap{min-width:100%;max-width:100%}
  .form-btn{max-width:250px;width:100%;margin:0 auto}
}

h1{font-weight:600;letter-spacing:-0.4px}
.logo{font-weight:600}
.btn-primary,.card{font-weight:600}


/* Responsive Nav Styles */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-menu a,
.nav-menu .dropdown {
  display: inline-block;
}

/* Burger menu styling */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #000;
  display: block;
}

/* Mobile behavior */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    display: none; /* Hide initially */
    width: 100%;
    background: #fff;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown > span {
    cursor: pointer;
  }
}






/* ===== Trust Signals (scoped) ===== */
.trust-signals{padding:1.5rem 0 2.5rem}

.trust-grid{
  list-style:none; margin:0 auto; padding:0;
  display:flex; flex-wrap:wrap; justify-content:center; gap: 0.2rem 1rem;
  max-width: 1048px;
}

.trust-item{
  display:flex; align-items:center; gap:.75rem;
  padding:.85rem 1rem; border-radius:12px;
  background:#EFF2FF;
  box-shadow:0 2px 5px rgba(0,0,0,.04);             /* subtle depth */
  transition:transform .2s ease, box-shadow .2s ease;
  border: 1px solid #44414114;
}
.trust-item:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(0,0,0,.08);
}

.trust-item .icon{
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--color-primary);
}
.trust-item .icon svg{width:20px; height:20px}

.trust-item .kpi{font-weight:600}
.trust-item .sub{font-size:.9rem; opacity:.8; margin-top:2px}

/* ===== Mobile tweaks ===== */
@media (max-width:640px){
  .trust-grid{
    padding: 0;                                     /* let section handle gutters */
    display:grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:.6rem;
  }
  .trust-item{
    width:auto !important;
    padding:.6rem .7rem;
    border-radius:10px;
  }
}

@media (max-width:380px){
  .trust-grid{ grid-template-columns:1fr }
  .trust-signals{
    padding-inline: clamp(16px, 6vw, 24px);         /* a bit more on 1-col */
  }
}








