/*
Theme Name: nanobuddies
Theme URI: https://nanobuddies.com
Author: nanobuddies
Author URI: https://nanobuddies.com
Description: nanobuddies — AI Design & Digital Growth Studio. A premium, purple-forward single-page marketing theme: glassmorphic cards over a tinted, dot-textured canvas, Inter Black headings, gradient CTAs. Edit the homepage markup in index.php; menu under Appearance > Menus ("Primary").
Version: 2.4.4
Requires at least: 6.0
Tested up to: 6.5
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: techvero
*/

:root {
  --bg: #edf0f5;
  --bg-light: #fafbfe;
  --surface: #ffffff;
  --surface-soft: #f6f7fb;
  --text: #101426;
  --muted: #687086;
  --purple: #5f28e8;
  --purple-2: #7c3aed;
  --purple-dark: #4212b8;
  --pink: #ec3abf;
  --orange: #ff9f16;
  --green: #25b35b;
  --border: #dfe3ec;
  --shadow: 0 24px 70px rgba(28, 34, 54, 0.12);
  --shadow-soft: 0 14px 35px rgba(28, 34, 54, 0.09);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 20%, rgba(124, 58, 237, 0.12), transparent 28%),
    radial-gradient(circle at 100% 26%, rgba(95, 40, 232, 0.12), transparent 25%),
    radial-gradient(circle at 50% 5%, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(135deg, #e4e7ee 0%, #f8f9fc 42%, #e9edf3 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(95, 40, 232, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, transparent 82%);
  opacity: 0.22;
  z-index: -1;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

.section-space {
  padding: 118px 0 58px;
}

.section-space-sm {
  padding: 36px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0 0;
}

.navbar {
  min-height: 72px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(28, 34, 54, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(145deg, var(--purple-2), var(--purple-dark));
  box-shadow: 0 14px 28px rgba(95, 40, 232, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  font-weight: 800;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--purple);
}

.nav-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 23px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-2));
  box-shadow: 0 18px 36px rgba(95, 40, 232, 0.28);
}

.btn:hover,
.nav-button:hover {
  transform: translateY(-2px);
}

.btn-light {
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(95, 40, 232, 0.34);
  box-shadow: var(--shadow-soft);
}

.btn-white {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 20, 45, 0.12);
}

.btn-ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.24);
}

.menu-toggle,
.hamburger {
  display: none;
}

.hero {
  position: relative;
}

.shape {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.shape-left {
  width: 360px;
  height: 360px;
  left: -170px;
  top: 90px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
}

.shape-right {
  width: 300px;
  height: 300px;
  right: -145px;
  top: 210px;
  border: 18px solid rgba(95, 40, 232, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.7vw, 5.35rem);
  line-height: 1.01;
  letter-spacing: -0.075em;
}

h1 span {
  color: inherit;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 60px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 650px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.mini-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  color: var(--purple);
  background: rgba(95, 40, 232, 0.10);
  border-radius: 12px;
  font-weight: 900;
}

.mini-card strong {
  display: block;
  font-size: 0.76rem;
}

.mini-card small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.dashboard-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.dashboard-header,
.pipeline-title,
.pipeline-row,
.client-row {
  display: flex;
  align-items: center;
}

.dashboard-header {
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-header h2 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.metric-box {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(223, 227, 236, 0.8);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(28, 34, 54, 0.06);
}

.metric-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 10px;
  font-weight: 900;
}

.metric-icon.purple { background: linear-gradient(135deg, var(--purple-2), var(--purple-dark)); }
.metric-icon.pink { background: linear-gradient(135deg, var(--pink), #9f36ff); }
.metric-icon.orange { background: linear-gradient(135deg, var(--orange), #ffbf27); }

.metric-box small,
.metric-box p {
  color: var(--muted);
}

.metric-box small {
  display: block;
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.metric-box strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.metric-box p {
  margin: 2px 0 0;
  font-size: 0.75rem;
}

.pipeline-card {
  background: #fff;
  border: 1px solid rgba(223, 227, 236, 0.8);
  border-radius: 18px;
  overflow: hidden;
}

.pipeline-title {
  justify-content: space-between;
  padding: 17px 18px;
  font-size: 0.85rem;
}

.pipeline-title a {
  color: var(--purple);
  font-weight: 800;
}

.pipeline-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto 16px;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-top: 1px solid var(--border);
}

.channel {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-weight: 900;
}

.instagram { background: linear-gradient(135deg, #ff3fa4, #7c3aed); }
.globe { background: linear-gradient(135deg, #8fa7ff, #5f28e8); }
.image { background: linear-gradient(135deg, #40d4e8, #6bd2b3); }

.pipeline-row b {
  font-size: 0.82rem;
}

.pipeline-row em {
  padding: 4px 8px;
  border-radius: 7px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
}

.ready {
  color: #318443;
  background: #dff6e5;
}

.designing {
  color: var(--purple-dark);
  background: #eee6ff;
}

.pipeline-row small {
  color: var(--muted);
  font-weight: 700;
}

.logo-strip {
  padding: 0 0 34px;
}

/* ===== AI models band — continuous animated marquee with spinning star ===== */
.ai-marquee {
  padding: 6px 0 44px;
  overflow: hidden;
}
.ai-trust {
  max-width: 780px;
  text-align: center;
  padding-bottom: 26px;
}
.ai-trust .stars {
  display: block;
  margin-bottom: 16px;
  font-size: 1.35rem;
}
.ai-trust .trust-line {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}
.ai-trust .trust-line + .trust-line {
  margin-bottom: 0;
}
.ai-marquee-title {
  margin: 32px 0 26px;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.16em;
}
.ai-trust .ai-marquee-title {
  margin-bottom: 0;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  padding-left: 16px;
  will-change: transform;
  animation: nb-marquee 26s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes nb-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  padding: 13px 24px;
  white-space: nowrap;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ai-pill svg.ai-star,
.ai-star {
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 19px;
  display: inline-block;
  color: var(--purple);
  animation: nb-spin 5.5s linear infinite;
}
@keyframes nb-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .ai-star { animation: none; }
}

.services-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 48px;
  align-items: start;
}

.section-intro h2,
.studio-copy h2,
.cta-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.title-line {
  width: 56px;
  height: 3px;
  display: block;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--purple), transparent);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.service-card.featured {
  border-color: rgba(95, 40, 232, 0.55);
  box-shadow: 0 18px 42px rgba(95, 40, 232, 0.14);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-top small {
  padding: 5px 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-2), var(--pink));
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 900;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--purple);
  font-size: 1.85rem;
  font-weight: 900;
}

.pink-text {
  color: var(--pink);
}

.service-card h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.service-card p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.service-card > a {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--purple);
  border: 1px solid rgba(95, 40, 232, 0.42);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
}

.studio-card {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 52px;
  align-items: center;
  min-height: 290px;
  padding: 34px 42px;
  background:
    radial-gradient(circle at 95% 85%, rgba(124, 58, 237, 0.18), transparent 28%),
    rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.visual-area {
  position: relative;
  min-height: 285px;
}

.phone-mockup {
  position: absolute;
  left: 170px;
  top: 4px;
  width: 190px;
  height: 336px;
  padding: 12px;
  border-radius: 34px;
  background: #15101f;
  transform: rotate(-9deg);
  box-shadow: 0 35px 60px rgba(20, 17, 31, 0.28);
}

.phone-screen {
  height: 100%;
  padding: 24px 18px;
  color: #fff;
  border-radius: 26px;
  background:
    radial-gradient(circle at 25% 80%, rgba(236, 58, 191, 0.42), transparent 30%),
    linear-gradient(160deg, #210d61, #6e24dc 58%, #160d2c);
}

.phone-screen h3 {
  margin: 24px 0 12px;
  font-size: 1.23rem;
  line-height: 1.1;
}

.phone-screen button {
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.phone-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 28px;
}

.phone-gallery span {
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f5d8ff, #4a11a6);
}

.floating-card {
  position: absolute;
  z-index: 2;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.floating-card small {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
  font-size: 0.68rem;
}

.visual-concept {
  left: 4px;
  top: 52px;
  width: 116px;
}

.flower-art {
  height: 84px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 52% 40%, rgba(255, 255, 255, 0.9), transparent 12%),
    radial-gradient(ellipse at 40% 48%, rgba(179, 104, 255, 0.9), transparent 22%),
    radial-gradient(ellipse at 64% 55%, rgba(83, 16, 191, 0.9), transparent 34%),
    linear-gradient(135deg, #160a3a, #8044e9);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7c7ff;
}

.brand-tone {
  right: 62px;
  top: 92px;
  width: 154px;
}

.brand-tone p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.65rem;
}

.swatches {
  display: flex;
  gap: 10px;
}

.swatches span,
.avatar-stack span,
.cube-art span {
  display: block;
}

.swatches span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.swatches span:nth-child(1) { background: var(--purple); }
.swatches span:nth-child(2) { background: var(--pink); }
.swatches span:nth-child(3) { background: #b9bfcb; }
.swatches span:nth-child(4) { background: #20243a; }

.studio-copy p:not(.section-label) {
  color: var(--muted);
  font-size: 0.98rem;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 28px;
  color: #333a50;
  font-weight: 700;
  font-size: 0.9rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--purple);
  border-radius: 50%;
  font-size: 0.65rem;
}

.process-section {
  padding: 18px 0 26px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process-card {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  column-gap: 13px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
}

.process-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -31px;
  top: 50%;
  color: var(--purple);
  font-size: 1.6rem;
  transform: translateY(-50%);
}

.process-card span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--purple);
  background: #ece4ff;
  border-radius: 50%;
  font-weight: 900;
}

.process-card i {
  color: var(--purple);
  font-style: normal;
  font-size: 1.5rem;
}

.process-card h3 {
  margin: 0 0 4px;
  font-size: 0.93rem;
}

.process-card p {
  grid-column: 3;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.68fr 1.12fr;
  gap: 22px;
  align-items: stretch;
}

.testimonial-card,
.rating-card,
.pricing-card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.quote {
  display: block;
  height: 30px;
  color: var(--purple);
  font-size: 4rem;
  line-height: 0.65;
}

.testimonial-card h3 {
  max-width: 440px;
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.35;
}

.avatar,
.avatar-stack span,
.avatar-stack b {
  border-radius: 50%;
}

.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-right: 12px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #111827);
  font-weight: 900;
}

.client-row small {
  display: block;
  color: var(--muted);
}

.rating-card {
  text-align: center;
}

.stars {
  color: #ffbb16;
  font-size: 1.22rem;
  letter-spacing: 0.12em;
}

.rating-card h3 {
  margin: 10px 0 0;
  font-size: 2.2rem;
}

.rating-card p {
  color: var(--muted);
}

.avatar-stack {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.avatar-stack span,
.avatar-stack b {
  width: 32px;
  height: 32px;
  margin-left: -7px;
  border: 2px solid #fff;
}

.avatar-stack span:nth-child(1) { background: #c59c72; }
.avatar-stack span:nth-child(2) { background: #7148cc; }
.avatar-stack span:nth-child(3) { background: #2a5277; }
.avatar-stack span:nth-child(4) { background: #d8956b; }

.avatar-stack b {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--purple);
  font-size: 0.72rem;
}

.pricing-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 15%, rgba(255, 255, 255, 0.16), transparent 20%),
    linear-gradient(135deg, #3210a4, #741de4 62%, #4611ba);
  overflow: hidden;
}

.pricing-card h3 {
  max-width: 320px;
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.pricing-card p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.cube-art {
  position: relative;
  align-self: end;
  width: 120px;
  height: 100px;
  opacity: 0.72;
}

.cube-art span {
  position: absolute;
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, #c98cff, #6822dc);
  transform: skewY(-10deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.cube-art span:nth-child(1) { right: 0; bottom: 0; }
.cube-art span:nth-child(2) { right: 38px; bottom: 20px; }
.cube-art span:nth-child(3) { right: 0; bottom: 48px; }

.cta-section {
  padding: 18px 0 34px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px 72px;
  color: #fff;
  background:
    radial-gradient(circle at 7% 50%, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 95% 70%, rgba(236, 58, 191, 0.28), transparent 26%),
    linear-gradient(135deg, #2c0fa3, #6217d8 58%, #8c25dc);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(95, 40, 232, 0.24);
  overflow: hidden;
}

.sparkle {
  font-size: 2rem;
}

.cta-card h2 {
  max-width: 690px;
  margin-bottom: 8px;
}

.cta-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
  flex: 0 0 auto;
}

.footer {
  padding: 12px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 42px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 16px;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #2d344a;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-weight: 800;
}

.copyright {
  margin: 22px 0 0;
  text-align: center;
  color: #9aa1b2 !important;
  font-size: 0.8rem !important;
}

@media (max-width: 1050px) {
  .hero-grid,
  .services-grid,
  .studio-card,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    max-width: 760px;
  }

  .section-intro {
    max-width: 560px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-space {
    padding-top: 78px;
  }

  .navbar {
    position: relative;
  }

  .hamburger {
    display: grid;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text);
  }

  .nav-links,
  .nav-button {
    display: none;
  }

  .menu-toggle:checked ~ .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: grid;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }

  .mini-cards,
  .metrics-grid,
  .service-cards,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .logo-inner {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.98rem;
  }

  .pipeline-row {
    grid-template-columns: 34px 1fr;
  }

  .pipeline-row em,
  .pipeline-row small,
  .pipeline-row > span:last-child {
    justify-self: start;
  }

  .studio-card,
  .cta-card {
    padding: 28px 20px;
  }

  .visual-area {
    min-height: 390px;
  }

  .phone-mockup {
    left: 90px;
  }

  .brand-tone {
    right: 0;
    top: 250px;
  }

  .process-card:not(:last-child)::after {
    display: none;
  }

  .cta-card {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 470px) {
  .dashboard-card {
    padding: 18px;
  }

  .phone-mockup {
    left: 70px;
    width: 170px;
    height: 305px;
  }

  .visual-concept {
    left: 0;
  }

  .brand-tone {
    width: 138px;
  }
}

/* ===== nanobuddies WordPress theme additions ===== */
/* Logo: lock height, auto width, never let intrinsic image size shift layout. */
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.brand img.tv-logo,
.brand .custom-logo {
  height: 30px !important;
  width: auto !important;
  max-width: 260px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 0.5px rgba(46, 16, 101, 0.13));
}
.footer .brand img.tv-logo,
.footer .brand .custom-logo { height: 30px !important; }

/* Footer contact lines: icon + text on one row, small icon */
.footer .contact-line {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer .contact-line i,
.footer .contact-line svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px;
}
.nav-links a { white-space: nowrap; }
.nav-links a.home-link { display: inline-flex; align-items: center; }
i[data-lucide] { width: 18px; height: 18px; stroke-width: 2.4; }
.service-icon i[data-lucide] { width: 30px; height: 30px; }
.mini-icon i[data-lucide], .metric-icon i[data-lucide], .channel i[data-lucide] { width: 18px; height: 18px; }
.process-card i.glyph[data-lucide] { width: 24px; height: 24px; color: var(--purple); }
.logo-inner img.brand-ic { width: 18px; height: 18px; display: inline-block; vertical-align: middle; margin-right: 6px; }
.socials img.brand-ic { width: 16px; height: 16px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background:#fff; padding:10px 16px; border-radius:10px; z-index:50; }

/* About section */
.about-section { padding: 60px 0; }
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.about-copy h2 { margin: 0 0 18px; font-size: clamp(2rem, 3vw, 3.05rem); line-height: 1.08; letter-spacing: -0.065em; max-width: 620px; }
.about-copy p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 640px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-card { padding: 30px; background: rgba(255,255,255,0.74); border: 1px solid var(--border-glass, rgba(255,255,255,0.86)); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }
.about-card h3 { margin: 0 0 18px; font-size: 1.18rem; letter-spacing: -0.04em; }
.about-card .check-list li { margin-bottom: 14px; font-size: 0.92rem; line-height: 1.4; }

/* Footer contact icons */
.footer p i[data-lucide], .footer a i[data-lucide] { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }

@media (max-width: 1050px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   BLOCK EDITOR + ELEMENTOR BRIDGE
   Makes core blocks (and Elementor's output) inherit the brand look so the
   section block patterns render pixel-identically to the hardcoded layout.
   ===================================================================== */

/* Group blocks used as section/containers shouldn't add their own chrome. */
.wp-block-group.hero,
.wp-block-group.services,
.wp-block-group.studio-section,
.wp-block-group.about-section,
.wp-block-group.process-section,
.wp-block-group.proof-section,
.wp-block-group.cta-section { display: block; }

/* Our grid/flex containers manage their own spacing — strip core flow margins
   that WordPress injects between child blocks. */
.hero-grid > *,
.hero-copy > *,
.services-grid > *,
.section-intro > *,
.service-cards > *,
.service-card > *,
.studio-card > *,
.studio-copy > *,
.about-grid > *,
.about-copy > *,
.about-card > *,
.process-grid > *,
.process-card > *,
.proof-grid > *,
.testimonial-card > *,
.pricing-card > *,
.cta-card > *,
.cta-card > * > * { margin-top: 0; margin-bottom: 0; }

/* Re-assert the original copy rhythm inside text columns. */
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .hero-text { margin-bottom: 30px; }
.section-intro h2,
.studio-copy h2,
.about-copy h2,
.cta-card h2 { margin-bottom: 14px; }
.studio-copy p:not(.section-label),
.about-copy p { margin-bottom: 16px; }
.about-copy p:last-child { margin-bottom: 0; }
.service-card h3 { margin-bottom: 7px; }
.pricing-card h3 { margin-bottom: 10px; }

/* Core Button block → brand buttons (.btn look). Works with the pattern
   classes (btn-primary/btn-light/btn-white) and the registered block styles
   (is-style-primary/light/white). */
.wp-block-button__link.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 23px;
  border-radius: 12px;
  font-weight: 900;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-button__link.wp-element-button:hover { transform: translateY(-2px); }

.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.is-style-primary .wp-block-button__link {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-2));
  box-shadow: 0 18px 36px rgba(95, 40, 232, 0.28);
}
.wp-block-button.btn-light .wp-block-button__link,
.wp-block-button.is-style-light .wp-block-button__link {
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(95, 40, 232, 0.34);
  box-shadow: var(--shadow-soft);
}
.wp-block-button.btn-white .wp-block-button__link,
.wp-block-button.is-style-white .wp-block-button__link {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 20, 45, 0.12);
}

/* Button rows */
.wp-block-buttons.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 60px; }
.wp-block-buttons.cta-actions { display: grid; gap: 12px; justify-items: center; }
/* Extra breathing room above the mini-cards under the hero buttons (robust even
   if the buttons' bottom margin is reset in some context). */
.hero-copy .mini-cards { margin-top: 24px; }

/* The block editor canvas: give it the brand canvas + width so patterns look
   right while editing. */
.editor-styles-wrapper {
  background:
    radial-gradient(circle at 0% 12%, rgba(124, 58, 237, 0.10), transparent 30%),
    radial-gradient(circle at 100% 18%, rgba(95, 40, 232, 0.10), transparent 28%),
    linear-gradient(135deg, #e6e9f0 0%, #f8f9fc 45%, #eaeef4 100%);
}
.editor-styles-wrapper .wp-block { max-width: var(--container); }
.editor-styles-wrapper .container { width: 100%; }

/* When the landing patterns are placed inside post/page content, keep the full
   sections flush (their own section padding handles the rhythm). */
.entry-content > .wp-block-group.hero,
.entry-content > .wp-block-group.services,
.entry-content > .wp-block-group.studio-section,
.entry-content > .wp-block-group.about-section,
.entry-content > .wp-block-group.process-section,
.entry-content > .wp-block-group.proof-section,
.entry-content > .wp-block-group.cta-section { margin-top: 0; }
.page-content.entry-content { color: inherit; }

/* =====================================================================
   INNER PAGE / BLOG / 404 / WIDGET TEMPLATES
   ===================================================================== */

.page-shell { padding: 70px 0 80px; }
.canvas-shell { padding: 0; }
.container--narrow { width: min(760px, calc(100% - 44px)); }

.page-head { margin-bottom: 26px; }
.page-title,
.single-title { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.06em; line-height: 1.04; }

.entry-content { font-size: 1.02rem; color: var(--body, #333a50); }
.entry-content > * { margin-top: 1.1em; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); letter-spacing: -0.05em; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; letter-spacing: -0.03em; margin-top: 1.4em; }
.entry-content a { color: var(--purple); font-weight: 700; }
.entry-content img { border-radius: var(--radius-md); }
.entry-content blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 3px solid var(--purple);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.archive-head { margin-bottom: 32px; }
.archive-head h1 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.06em; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card-thumb img { width: 100%; height: 180px; object-fit: cover; }
.post-card-body { padding: 22px; }
.post-meta { color: var(--muted); font-size: 0.78rem; font-weight: 700; margin-bottom: 8px; }
.post-card-title { font-size: 1.18rem; letter-spacing: -0.04em; margin-bottom: 8px; }
.post-card-title a:hover { color: var(--purple); }
.post-card-excerpt { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.post-card-link { color: var(--purple); font-weight: 800; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }

.single-thumb img { width: 100%; border-radius: var(--radius-lg); margin: 24px 0; }
.single-head { margin-bottom: 8px; }

.pagination { margin-top: 40px; }
.pagination .page-numbers {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 12px; margin: 0 4px;
  border-radius: 10px; font-weight: 800; color: var(--text);
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--border);
}
.pagination .page-numbers.current { color: #fff; background: var(--purple); border-color: var(--purple); }

.error-404 .btn { margin-top: 8px; }
.no-results { max-width: 560px; }

/* Footer widget areas */
.footer-col .footer-widget { margin-bottom: 18px; }
.footer-col .footer-widget-title { margin: 0 0 12px; font-size: 0.95rem; }
.footer-col .footer-widget ul { list-style: none; margin: 0; padding: 0; }
.footer-col .footer-widget ul li { margin-bottom: 8px; }
.footer-col .footer-widget a { display: block; color: var(--muted); font-size: 0.86rem; }
.footer-col .footer-widget a:hover { color: var(--purple); }

/* Search form */
.search-form { display: flex; gap: 8px; margin-top: 14px; }
.search-form .search-field {
  flex: 1; min-width: 0; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff;
}
.search-form .search-submit {
  padding: 11px 18px; border: 0; border-radius: 10px; cursor: pointer;
  color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-2));
}

@media (max-width: 1050px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .post-grid { grid-template-columns: 1fr; }
  .page-shell { padding: 48px 0 56px; }
}

/* =====================================================================
   SUB-PAGE SECTIONS — page hero, solutions grid, stats band, contact
   ===================================================================== */

/* Page hero (top of About / Services / Work / Contact) */
.page-hero { padding: 92px 0 24px; text-align: center; }
.page-hero .eyebrow { display: block; }
.page-hero h1 {
  margin: 0 auto 16px;
  max-width: 880px;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}
.page-hero-sub {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

/* Solutions grid (large feature cards) */
.solutions-head { max-width: 660px; margin: 0 auto 40px; text-align: center; }
.solutions-head h2 { font-size: clamp(2rem, 3vw, 3.05rem); letter-spacing: -0.065em; line-height: 1.08; }
.solution-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.solution-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.solution-card .icon-tile {
  width: 52px; height: 52px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff; border-radius: 14px;
  background: linear-gradient(145deg, var(--purple-2), var(--purple-dark));
  box-shadow: 0 14px 28px rgba(95, 40, 232, 0.26);
}
.solution-card .icon-tile i[data-lucide] { width: 24px; height: 24px; }
.solution-card h3 { margin: 0 0 8px; font-size: 1.18rem; letter-spacing: -0.035em; }
.solution-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.solution-card .solution-link { margin: 0; }
.solution-card .solution-link a { color: var(--purple); font-weight: 800; font-size: 0.88rem; }

/* Stats band */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-box {
  padding: 30px 18px; text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.stat-box .stat-num {
  margin: 0 0 6px;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-box p { margin: 0; color: var(--muted); font-size: 0.9rem; font-weight: 700; }

/* Contact (info + form) */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); letter-spacing: -0.05em; line-height: 1.1; margin-bottom: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 18px; }
.contact-info .contact-line { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 700; }
.contact-info .contact-line i[data-lucide] { width: 17px; height: 17px; color: var(--purple); }
.contact-form {
  display: grid; gap: 14px; padding: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 13px 15px; font: inherit;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  padding: 14px 22px; border: 0; border-radius: 12px; cursor: pointer;
  color: #fff; font-weight: 900;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-2));
  box-shadow: 0 18px 36px rgba(95, 40, 232, 0.28);
  transition: transform 0.2s ease;
}
.contact-form button:hover { transform: translateY(-2px); }
.contact-form .form-note { color: var(--muted); font-size: 0.76rem; }

@media (max-width: 1050px) {
  .solution-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 64px 0 18px; }
  .solution-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
