/*
Theme Name: Wassup
Theme URI: http://localhost/wassup
Author: Romil Sarna
Description: Dark, modern landing theme for a multi-tenant WhatsApp Business platform. Converted from a DesignCombo HTML export.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wassup
*/

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --bg: #06110E;
  --surface: rgba(255,255,255,0.035);
  --border: rgba(255,255,255,0.08);
  --text: #E8F2EF;
  --muted: #A9C0BA;
  --muted-2: #7B958E;
  --accent: #00C896;
  --accent-bright: #5EE8C0;
  --accent-grad: linear-gradient(140deg,#00C896,#0A7B6C);
}

/* =========================================================
   Global resets (ported from the DC <helmet> block)
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
::selection { background: var(--accent); color: #04130F; }

@keyframes floaty   { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes glowpulse{ 0%,100%{opacity:.55} 50%{opacity:1} }
@keyframes blip     { 0%,100%{transform:scale(1);opacity:.4} 50%{transform:scale(1.15);opacity:1} }

/* =========================================================
   Hover states (replaces DC's style-hover="..." attribute)
   ========================================================= */
.wsp-navlink:hover        { color: #fff; }
.wsp-btn-primary:hover     { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,200,150,0.42); }
.wsp-btn-hero:hover        { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,200,150,0.45); }
.wsp-btn-ghost:hover       { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.24); }
.wsp-btn-cta:hover         { transform: translateY(-2px); background: #02100C; }
.wsp-footer-link:hover     { color: #fff; }
.wsp-card:hover            { border-color: rgba(0,200,150,0.40); transform: translateY(-4px); }
.wsp-card-accent:hover     { border-color: rgba(0,200,150,0.45); transform: translateY(-4px); }
.wsp-link-accent:hover     { color: #5EE8C0; }
.wsp-btn-send:hover        { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,200,150,0.42); }
.wsp-input { font-family: 'Manrope', system-ui, sans-serif; }
.wsp-input:focus { border-color: #00C896; background: rgba(0,200,150,0.06); }

/* =========================================================
   wp_nav_menu output (header + footer menus)
   ========================================================= */
/* Header desktop menu */
.wsp-nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wsp-nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #A9C0BA;
  text-decoration: none;
}
.wsp-nav-menu a:hover,
.wsp-nav-menu .current-menu-item > a { color: #fff; }

/* Header mobile menu */
.wsp-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.wsp-mobile-menu-list a {
  display: block;
  padding: 13px 6px;
  font-size: 16px;
  font-weight: 600;
  color: #E8F2EF;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wsp-mobile-menu-list li:last-child a { border-bottom: none; }

/* Footer column menus */
.wsp-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}
.wsp-footer-menu a { color: #A9C0BA; text-decoration: none; }
.wsp-footer-menu a:hover { color: #fff; }

/* =========================================================
   Blog: article typography (styles the_content output)
   ========================================================= */
.wsp-article > p {
  font-size: 17px;
  line-height: 1.75;
  color: #BFD4CE;
  margin: 0 0 18px;
}
/* Lead paragraph */
.wsp-article > p:first-of-type {
  font-size: clamp(17px,1.8vw,20px);
  line-height: 1.6;
  color: #DDEEE9;
  font-weight: 500;
  margin-bottom: 32px;
}
.wsp-article h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(22px,2.6vw,30px);
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
}
.wsp-article h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.wsp-article ul,
.wsp-article ol {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wsp-article li {
  font-size: 17px;
  line-height: 1.65;
  color: #BFD4CE;
  padding-left: 24px;
  position: relative;
}
.wsp-article li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #00C896;
}
.wsp-article blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid #00C896;
  background: rgba(0,200,150,0.06);
  border-radius: 0 14px 14px 0;
}
.wsp-article blockquote p {
  font-size: 19px;
  line-height: 1.6;
  color: #E8F2EF;
  font-weight: 600;
  font-style: italic;
  margin: 0;
}
.wsp-article a { color: #5EE8C0; font-weight: 600; }
.wsp-article a:hover { text-decoration: underline; }
.wsp-article strong { color: #E8F2EF; }
.wsp-article img { max-width: 100%; height: auto; border-radius: 16px; }

/* Blog share/back hover + newsletter input focus */
.wsp-back-link:hover { color: #5EE8C0; }
.wsp-share-btn:hover { color: #5EE8C0; border-color: rgba(0,200,150,0.4); }
.wsp-sub-input:focus { border-color: #04130F; background: rgba(4,19,15,0.7); }
.wsp-sub-btn:hover { background: #02100C; transform: translateY(-1px); }

/* Legal pages: sticky table-of-contents (replaces DC's {{ tocPosition }}) */
.wsp-toc { position: sticky; }
@media (max-width: 899px) { .wsp-toc { position: static; } }
.wsp-toc-link:hover { color: #E8F2EF; }

/* =========================================================
   Mobile nav (replaces DC's <sc-if> isMobile / menuOpen logic)
   ========================================================= */
.wsp-mobile-toggle { display: none; }
#wsp-mobile-menu   { display: none; }
#wsp-mobile-menu.is-open { display: flex; }

@media (max-width: 859px) {
  .wsp-desktop-nav   { display: none !important; }
  .wsp-mobile-toggle { display: flex !important; }
}
