/*
Theme Name: Meta Sync Asia
Theme URI: https://metasync-asia-cgc8nn3i.manus.space/
Author: Meta Sync Asia
Description: Custom theme replicating Meta Sync Asia corporate training and leadership coaching website. Human-centric design for Singapore/Asia market.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: metasync-asia
*/

/* ==========================================================================
   CSS Variables - Meta Sync Asia design (from reference)
   ========================================================================== */
:root {
  --color-primary: #1e3a5f;
  --color-primary-light: #2c5282;
  --color-purple: #6B46C1;
  --color-purple-dark: #553c9a;
  --color-accent-blue: #63b3ed;
  --color-accent-cyan: #76e3f0;
  --color-hero-dark: #1a1f3a;
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-bg: #ffffff;
  --color-bg-alt: #f7fafc;
  --color-bg-dark: #0f1729;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1200px;
  --section-padding: 4rem 0;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 72px; /* Reserve space for fixed header */
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.metasync-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.metasync-main {
  width: 100%;
  min-width: 0;
}

/* Blog index (when homepage shows latest posts) */
.metasync-blog-index {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.metasync-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 251, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.metasync-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.metasync-logo-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.metasync-logo-block-custom a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.metasync-logo-block-custom img {
  max-height: 40px;
  width: auto;
  height: auto;
  display: block;
}

.metasync-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.metasync-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.metasync-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
}

.metasync-logo-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

.metasync-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.metasync-nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}
.metasync-nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a202c;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.metasync-header.is-open .metasync-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.metasync-header.is-open .metasync-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.metasync-header.is-open .metasync-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.metasync-nav-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.metasync-nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.metasync-nav a {
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.metasync-nav a:hover,
.metasync-nav .current-menu-item a {
  color: var(--color-purple);
  border-bottom-color: var(--color-purple);
}

.metasync-btn-header {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--color-purple);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  transition: background 0.2s, transform 0.2s;
}

.metasync-btn-header:hover {
  background: var(--color-purple-dark);
  color: #fff !important;
  border-bottom-color: transparent !important;
  transform: translateY(-1px);
}

/* Header mobile */
@media (max-width: 900px) {
  .metasync-nav-toggle {
    display: flex;
  }
  .metasync-header {
    position: relative;
  }
  .metasync-header-inner {
    flex-wrap: wrap;
    position: relative;
  }
  .metasync-nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 250, 251, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s;
  }
  .metasync-header.is-open .metasync-nav-wrap {
    max-height: 80vh;
    opacity: 1;
    overflow-y: auto;
  }
  .metasync-nav {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  .metasync-nav a {
    display: block;
    padding: 0.6rem 0;
  }
  .metasync-btn-header {
    text-align: center;
    width: 100%;
  }
  body {
    padding-top: 52px; /* Tighter to reduce top whitespace on mobile */
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 48px;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.metasync-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 2rem 1.5rem 5rem; /* body already has padding-top for fixed header */
  background: linear-gradient(120deg, #2d1b69 0%, #1e3a5f 50%, #0f1729 100%);
  overflow: hidden;
}

.metasync-hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.metasync-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 50%, rgba(99, 179, 237, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(118, 227, 240, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.metasync-hero .metasync-container {
  position: relative;
  z-index: 2;
}

.metasync-hero .metasync-container {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.metasync-hero-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent-cyan);
  text-transform: uppercase;
}

.metasync-hero-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent-cyan);
}

.metasync-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.metasync-hero .hero-word-minds { color: var(--color-purple); }
.metasync-hero .hero-word-systems { color: var(--color-accent-cyan); }

.metasync-hero .hero-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin: 0 0 1.75rem;
  line-height: 1.6;
}

.metasync-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0;
}

.metasync-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.metasync-btn-primary {
  background: var(--color-purple);
  color: #fff;
  border: none;
}

.metasync-btn-primary:hover {
  background: var(--color-purple-dark);
  color: #fff;
  transform: translateY(-1px);
}

.metasync-btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.metasync-btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.metasync-btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.metasync-btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.metasync-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.metasync-scroll-hint::after {
  content: '';
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.5);
  animation: metasync-scroll-pulse 1.5s ease-in-out infinite;
}

@keyframes metasync-scroll-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

.metasync-manus-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  border-radius: 6px;
  text-decoration: none;
}

/* ==========================================================================
   Section Styling
   ========================================================================== */
.metasync-section {
  padding: var(--section-padding);
}

.metasync-section-alt {
  background: var(--color-bg-alt);
}

/* Section label (e.g. WHO WE ARE, OUR EXPERTISE) */
.metasync-section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent-blue);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.metasync-section h2 {
  font-size: 1.75rem;
  color: #1a202c;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.metasync-section .section-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.metasync-section .section-heading-highlight {
  color: var(--color-accent-blue);
}

/* Human-Centric overlaid card – reduced size on desktop */
.metasync-human-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 260px;
  position: relative;
  z-index: 2;
}

.metasync-human-card-icon {
  width: 40px;
  height: 40px;
  background: #c6f6d5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: #22543d;
  font-size: 1.25rem;
  line-height: 40px;
  text-align: center;
  padding: 0;
}

.metasync-human-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  color: #1a202c;
}

.metasync-human-card .human-card-sub {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.4rem;
}

.metasync-human-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .metasync-human-card {
    max-width: min(280px, calc(100% - 2rem));
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .metasync-who-visual {
    min-height: 180px;
    aspect-ratio: 16/10;
  }
  .metasync-who-card-overlay {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .metasync-human-card {
    max-width: 100%;
    padding: 1rem;
    border-radius: 10px;
  }
  .metasync-human-card-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    line-height: 36px;
    margin-bottom: 0.5rem;
  }
  .metasync-human-card h3 {
    font-size: 0.95rem;
  }
  .metasync-human-card .human-card-sub,
  .metasync-human-card p {
    font-size: 0.8rem;
  }
}

/* Who We Are - two columns: image + card left, content right */
.metasync-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .metasync-who-grid {
    grid-template-columns: 1fr;
  }
}

.metasync-who-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 220px;
  background: var(--color-bg-alt);
}

.metasync-who-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.metasync-who-card-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

@media (max-width: 900px) {
  .metasync-who-visual {
    aspect-ratio: 16/10;
    min-height: 200px;
    max-width: 100%;
  }
  .metasync-who-card-overlay {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    justify-content: center;
  }
  .metasync-human-card {
    flex-shrink: 0;
  }
}

.metasync-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .metasync-pillars {
    grid-template-columns: 1fr;
  }
}

.metasync-pillar {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.metasync-pillar-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(107, 70, 193, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  font-size: 1.1rem;
  line-height: 40px;
  text-align: center;
  padding: 0;
}

.metasync-pillar h4 {
  margin: 0 0 0.35rem;
  color: #1a202c;
  font-size: 1rem;
  font-weight: 700;
}

.metasync-pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Services grid - image on top, icon overlay, Learn more → */
.metasync-expertise .metasync-container {
  text-align: center;
}

.metasync-expertise .section-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.metasync-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

@media (max-width: 900px) {
  .metasync-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .metasync-services {
    grid-template-columns: 1fr;
  }
}

.metasync-service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.metasync-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.metasync-service-card-image {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.metasync-service-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icon circle: grid centers the single child reliably */
.metasync-service-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Inner wrapper: forces symbol (text or img) to sit in the middle regardless of font metrics */
.metasync-service-card-icon-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  text-align: center;
  position: relative;
  grid-column: 1;
  grid-row: 1;
}

/* When WordPress/browser converts emoji to img.emoji, absolutely center it */
.metasync-service-card-icon-symbol img,
.metasync-service-card-icon img,
.metasync-service-card-icon .emoji {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 22px !important;
  height: 22px !important;
  max-width: 80% !important;
  max-height: 80% !important;
  margin: 0 !important;
  display: block !important;
  object-fit: contain;
}


.metasync-service-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.metasync-service-card-body .metasync-link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.metasync-service-card h4 {
  margin: 0 0 0.5rem;
  color: #1a202c;
  font-size: 1.05rem;
  font-weight: 700;
}

.metasync-service-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.metasync-service-card .metasync-link-arrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.metasync-service-card .metasync-link-arrow:hover {
  color: var(--color-purple);
}

.metasync-service-card .metasync-btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Stats bar - dark purple background */
.metasync-stats-section {
  background: linear-gradient(135deg, #2d1b69 0%, #1e3a5f 100%);
  padding: 3rem 1.5rem;
  position: relative;
}

.metasync-stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.metasync-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .metasync-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metasync-stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
}

.metasync-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

/* Testimonials - quote icon, caps role */
.metasync-testimonials-wrap .metasync-container {
  text-align: center;
}

.metasync-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

@media (max-width: 900px) {
  .metasync-testimonials {
    grid-template-columns: 1fr;
  }
}

.metasync-testimonial {
  padding: 1.5rem;
  background: #e2e8f0;
  border-radius: 10px;
  position: relative;
}

.metasync-testimonial-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: #cbd5e0;
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: Georgia, serif;
}

.metasync-testimonial blockquote {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  font-style: normal;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.metasync-testimonial .author-name {
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.15rem;
}

.metasync-testimonial .author-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  text-transform: uppercase;
}

/* CTA Section - dark blue-purple gradient, white button */
.metasync-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, #2d1b69 0%, #1a1f3a 70%, #0f1729 100%);
  color: #fff;
  position: relative;
}

.metasync-cta h2 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

.metasync-cta p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
  font-size: 1rem;
}

.metasync-cta .metasync-btn-primary {
  background: #fff;
  color: #1a202c;
}

.metasync-cta .metasync-btn-primary:hover {
  background: #edf2f7;
  color: #1a202c;
  transform: translateY(-1px);
}

/* ==========================================================================
   About Us Page
   ========================================================================== */
.metasync-about-hero {
  position: relative;
  padding: 2rem 1.5rem 4rem; /* body has padding-top for fixed header */
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #2d1b69 0%, #1e3a5f 50%, #0f1729 100%);
  overflow: hidden;
}

.metasync-about-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(99, 179, 237, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.metasync-about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  max-width: var(--container-max);
}

@media (max-width: 900px) {
  .metasync-about-hero-inner {
    grid-template-columns: 1fr;
  }
  .metasync-about-hero-image { order: -1; max-height: 280px; }
}

.metasync-about-hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin: 0 0 1rem;
}

.metasync-about-hero-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 560px;
  line-height: 1.6;
}

.metasync-about-hero-image {
  max-width: 380px;
}

.metasync-about-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Mission & Vision cards */
.metasync-mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .metasync-mission-vision {
    grid-template-columns: 1fr;
  }
}

.metasync-mv-card {
  padding: 2rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.metasync-mv-mission { border-top: 4px solid var(--color-purple); }
.metasync-mv-vision { border-top: 4px solid var(--color-accent-blue); }

.metasync-mv-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.metasync-mv-icon-purple {
  background: var(--color-purple);
  color: #fff;
}

.metasync-mv-icon-blue {
  background: var(--color-accent-blue);
  color: #fff;
}

.metasync-mv-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #1a202c;
}

.metasync-mv-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* Philosophy / Why We Exist */
.metasync-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .metasync-philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.metasync-philosophy-content h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  color: #1a202c;
}

.metasync-philosophy-content p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.metasync-philosophy-content .metasync-btn {
  margin-top: 0.5rem;
}

.metasync-philosophy-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
}

.metasync-philosophy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metasync-philosophy-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.metasync-people-first-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 280px;
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.metasync-pf-icon {
  color: #e53e3e;
  margin-right: 0.35rem;
}

.metasync-people-first-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #1a202c;
}

.metasync-people-first-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

/* Team section */
.metasync-team-section .metasync-container {
  text-align: center;
}

.metasync-team-heading {
  font-size: 1.75rem;
  color: #1a202c;
  margin: 0 0 2rem;
  font-weight: 700;
}

.metasync-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

@media (max-width: 768px) {
  .metasync-team-grid {
    grid-template-columns: 1fr;
  }
}

.metasync-team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.metasync-team-card-image {
  aspect-ratio: 1;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.metasync-team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metasync-team-placeholder {
  font-size: 3rem;
  opacity: 0.5;
}

.metasync-team-card h3 {
  margin: 0;
  padding: 1.25rem 1.25rem 0;
  font-size: 1.1rem;
  color: #1a202c;
}

.metasync-team-role {
  margin: 0.25rem 0 0;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.metasync-team-bio {
  margin: 0.5rem 0 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ==========================================================================
   Services Page – hero, toggleable tabs, panels, approach
   ========================================================================== */
.metasync-services-hero {
  position: relative;
  padding: 2rem 1.5rem 4rem; /* body has padding-top for fixed header */
  background: linear-gradient(120deg, #2d1b69 0%, #1e3a5f 50%, #0f1729 100%);
  overflow: hidden;
}

.metasync-services-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(99, 179, 237, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(118, 227, 240, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.metasync-services-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.metasync-services-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin: 0 0 1rem;
}

.metasync-services-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

/* Tabs */
.metasync-services-tabs-wrap {
  background: #fff;
  padding: 0 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 72px;
  z-index: 100;
}

.metasync-services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1rem 0;
}

.metasync-service-tab {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: #f7fafc;
  color: #4a5568;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.metasync-service-tab:hover {
  background: #edf2f7;
  color: #2d3748;
}

.metasync-service-tab.is-active {
  background: var(--color-purple);
  color: #fff;
}

@media (max-width: 768px) {
  .metasync-services-tabs-wrap {
    position: static; /* Don't stick on mobile – avoids container cropping content */
    padding: 0 0.875rem;
    -webkit-overflow-scrolling: touch;
  }
  .metasync-services-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.75rem 0;
    gap: 0.5rem;
  }
  .metasync-service-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .metasync-service-panel-inner {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }
  .metasync-contact-container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }
}

/* Service panels */
.metasync-service-panel {
  display: none;
  padding: 2rem 0 3rem;
  background: #fff;
}

.metasync-service-panel.is-active {
  display: block;
}

.metasync-service-panel[hidden] {
  display: none !important;
}

.metasync-service-panel-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .metasync-service-panel-inner {
    grid-template-columns: 1fr;
  }
  .metasync-service-panel-image { order: -1; max-height: 320px; }
}

.metasync-service-panel-image {
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  aspect-ratio: 4/3;
}

.metasync-service-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metasync-service-panel-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.metasync-service-panel-content {
  padding-top: 0.5rem;
}

.metasync-service-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(107, 70, 193, 0.12);
  color: var(--color-purple);
  border-radius: 10px;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  line-height: 48px;
  text-align: center;
  padding: 0;
}

.metasync-service-panel-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: #1a202c;
}

.metasync-service-panel-desc {
  margin: 0 0 1.25rem;
  color: var(--color-text);
  line-height: 1.6;
}

.metasync-key-programs {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-accent-blue);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.metasync-programs-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.metasync-programs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.metasync-check {
  color: #38a169;
  font-weight: 700;
  flex-shrink: 0;
  width: 1.25em;
  text-align: center;
  display: inline-block;
}

/* Our Approach */
.metasync-approach-section .metasync-container {
  text-align: center;
}

.metasync-approach-heading {
  font-size: 1.75rem;
  color: #1a202c;
  margin: 0 0 2rem;
  font-weight: 700;
}

.metasync-approach-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

@media (max-width: 768px) {
  .metasync-approach-cards {
    grid-template-columns: 1fr;
  }
}

.metasync-approach-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: box-shadow 0.2s;
}

.metasync-approach-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.metasync-approach-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.metasync-approach-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1a202c;
}

.metasync-approach-num {
  font-size: 2rem;
  font-weight: 700;
  color: #cbd5e0;
  line-height: 1;
  flex-shrink: 0;
}

.metasync-approach-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

/* ==========================================================================
   Contact Page – hero, Get in Touch, Join Our Team, form, WhatsApp / email
   ========================================================================== */
.metasync-contact-hero {
  position: relative;
  padding: 2rem 1.5rem 4rem; /* body has padding-top for fixed header */
  text-align: center;
  background: linear-gradient(180deg, rgba(26, 31, 58, 0.95) 0%, rgba(30, 58, 95, 0.9) 50%, rgba(15, 23, 41, 0.95) 100%);
  overflow: hidden;
}

.metasync-contact-hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 15.523 0 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.metasync-contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.metasync-contact-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.metasync-contact-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.metasync-contact-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background: var(--color-bg-alt);
}

.metasync-contact-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.metasync-contact-success {
  padding: 1rem 1.25rem;
  background: #c6f6d5;
  color: #22543d;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.metasync-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .metasync-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Left column: Get in Touch panel + Join Our Team */
.metasync-contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.metasync-getintouch-panel {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.metasync-getintouch-header {
  background: var(--color-purple);
  color: #fff;
  padding: 1.5rem;
}

.metasync-getintouch-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: #fff;
}

.metasync-getintouch-header p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.metasync-getintouch-body {
  padding: 1.5rem;
}

.metasync-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.metasync-contact-item:last-child {
  margin-bottom: 0;
}

.metasync-contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(107, 70, 193, 0.12);
}

.metasync-icon-location {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B46C1' stroke-width='2'%3E%3Cpath d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B46C1' stroke-width='2'%3E%3Cpath d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--color-purple);
}

.metasync-icon-email {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B46C1' stroke-width='2'%3E%3Cpath d='M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B46C1' stroke-width='2'%3E%3Cpath d='M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--color-purple);
}

.metasync-icon-phone {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B46C1' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B46C1' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--color-purple);
}

.metasync-icon-whatsapp {
  background-color: #25d366;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.metasync-contact-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #1a202c;
  font-size: 0.95rem;
}

.metasync-contact-value,
.metasync-contact-sub {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
}

.metasync-contact-sub {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.metasync-contact-item a.metasync-contact-value {
  color: var(--color-primary);
  text-decoration: none;
}

.metasync-contact-item a.metasync-contact-value:hover {
  text-decoration: underline;
}

.metasync-btn-whatsapp {
  display: inline-block;
  margin-top: 0.5rem;
  background: #25d366;
  color: #fff;
  border: none;
}

.metasync-btn-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
}

/* Join Our Team card */
.metasync-join-panel {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.metasync-join-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: #fff;
}

.metasync-join-panel p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.95;
  line-height: 1.5;
}

.metasync-btn-join {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.metasync-btn-join:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

/* Right column: form panel */
.metasync-contact-right {
  position: relative;
}

.metasync-form-panel {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.metasync-form-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: #1a202c;
}

.metasync-form-intro {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.metasync-contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.9rem;
}

.metasync-contact-form input,
.metasync-contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.metasync-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.metasync-btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-purple);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  margin: 0 auto;
  width: 100%;
  max-width: 280px;
}


.metasync-btn-send:hover {
  background: var(--color-purple-dark);
  color: #fff;
}

.metasync-manus-contact {
  position: absolute;
  bottom: -0.5rem;
  right: 0;
}

/* ==========================================================================
   Footer - 4 columns, dark navy
   ========================================================================== */
.metasync-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.5rem 1.5rem;
}

.metasync-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .metasync-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .metasync-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .metasync-footer-tagline { max-width: none; }
  .metasync-footer-social { justify-content: center; }
}

.metasync-footer-brand .metasync-logo-block {
  margin-bottom: 0.75rem;
}

.metasync-footer-logo.metasync-logo-block-custom img {
  max-height: 36px;
}

.metasync-footer-brand .metasync-logo-icon {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.metasync-footer-brand .metasync-logo-name {
  color: #fff;
  font-size: 1rem;
}

.metasync-footer-brand .metasync-logo-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.metasync-footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  max-width: 280px;
}

.metasync-footer-social {
  display: flex;
  gap: 0.5rem;
}

.metasync-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.metasync-footer-social a:hover {
  background: rgba(255, 255, 255, 0.25);
}

.metasync-footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  text-transform: none;
}

.metasync-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.metasync-footer ul li {
  margin-bottom: 0.5rem;
}

.metasync-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
}

.metasync-footer a:hover {
  color: #fff;
}

.metasync-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.metasync-footer-contact-item .icon {
  color: var(--color-purple);
  flex-shrink: 0;
}

.metasync-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.metasync-footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}

.metasync-manus-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  text-decoration: none;
}

/* ==========================================================================
   Partners Page – hero, Strategic Alliances, Trusted By, CTA banner
   ========================================================================== */
.metasync-partners-hero {
  position: relative;
  padding: 2rem 1.5rem 4rem; /* body has padding-top for fixed header */
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(26, 31, 58, 0.92) 0%, rgba(15, 23, 41, 0.95) 100%);
  overflow: hidden;
}

.metasync-partners-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.metasync-partners-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(99, 179, 237, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(118, 227, 240, 0.06) 0%, transparent 40%);
  z-index: 1;
}

.metasync-partners-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.metasync-partners-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.metasync-partners-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 700;
}

.metasync-partners-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
}

.metasync-partners-hero .metasync-manus-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
}

/* Strategic Alliances */
.metasync-alliances-section {
  background: var(--color-bg);
}

.metasync-alliances-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metasync-alliances-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--color-purple);
  border-radius: 10px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--color-purple);
}

.metasync-alliances-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  color: #1a202c;
}

.metasync-alliances-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.metasync-partner-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .metasync-partner-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metasync-partner-logo-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: #fff;
  padding: 1.5rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}

.metasync-partner-logo-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.metasync-partner-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
  min-height: 100%;
}

.metasync-partner-logo-card img,
.metasync-partner-link img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.metasync-partner-name {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

.metasync-partner-link:hover .metasync-partner-name {
  color: var(--color-primary);
}

.metasync-partner-placeholder {
  font-size: 0.9rem;
  color: #a0aec0;
}

/* Trusted By */
.metasync-trusted-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metasync-trusted-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--color-accent-blue);
  border-radius: 10px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--color-accent-blue);
}

.metasync-trusted-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  color: #1a202c;
}

.metasync-trusted-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.metasync-client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .metasync-client-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .metasync-client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metasync-client-box {
  background: #edf2f7;
  border-radius: var(--radius);
  padding: 1.25rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.metasync-client-box:hover {
  background: #e2e8f0;
}

.metasync-client-box img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.metasync-client-placeholder {
  font-size: 0.85rem;
  color: #2d3748;
  font-weight: 500;
}

/* Partners CTA banner */
.metasync-partners-cta {
  position: relative;
  padding: 4rem 1.5rem;
  margin: 0 1.5rem 2rem;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d1b69 50%, #1a1f3a 100%);
}

.metasync-partners-cta-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 15.523 0 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
}

.metasync-partners-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.metasync-partners-cta-content {
  max-width: 560px;
}

.metasync-partners-cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 700;
}

.metasync-partners-cta-content p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.metasync-btn-partners-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  color: #1a202c;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.metasync-btn-partners-cta:hover {
  background: #edf2f7;
  color: #1a202c;
  transform: translateY(-1px);
}

/* ==========================================================================
   Strategy Hub Page – hero, search, guide cards
   ========================================================================== */
.metasync-strategy-hub-hero {
  position: relative;
  padding: 2rem 1.5rem 4rem; /* body has padding-top for fixed header */
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(45, 27, 105, 0.95) 0%, rgba(30, 58, 95, 0.92) 50%, rgba(15, 23, 41, 0.95) 100%);
  overflow: hidden;
}

.metasync-strategy-hub-hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 15.523 0 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.metasync-strategy-hub-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.metasync-strategy-hub-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 700;
}

.metasync-strategy-hub-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.metasync-strategy-hub-search {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.metasync-search-icon {
  font-size: 1.1rem;
  margin-right: 0.5rem;
  opacity: 0.6;
}

.metasync-strategy-hub-search-input {
  flex: 1;
  border: none;
  background: none;
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0.5rem 0;
  outline: none;
}

/* Guide cards */
.metasync-strategy-hub-cards-wrap {
  background: var(--color-bg-alt);
}

.metasync-guide-empty {
  text-align: center;
  color: var(--color-text-light);
  padding: 2rem 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

.metasync-strategy-hub-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .metasync-strategy-hub-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .metasync-strategy-hub-cards {
    grid-template-columns: 1fr;
  }
}

.metasync-guide-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.metasync-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.metasync-guide-card-inner {
  padding: 1.5rem;
  position: relative;
}

.metasync-guide-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 70, 193, 0.12);
  margin-bottom: 0.75rem;
}

.metasync-guide-icon-chart {
  background: var(--color-purple);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M3 3v18h18M7 16l4-8 4 4 4-6'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M3 3v18h18M7 16l4-8 4 4 4-6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.metasync-guide-icon-book {
  background: var(--color-purple);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 016.5 17H20M6.5 2H20v20H6.5A2.5 2.5 0 014 19.5v-15A2.5 2.5 0 016.5 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 016.5 17H20M6.5 2H20v20H6.5A2.5 2.5 0 014 19.5v-15A2.5 2.5 0 016.5 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.metasync-guide-icon-document {
  background: var(--color-purple);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.metasync-guide-category {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
  background: #f7fafc;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.metasync-guide-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.3;
}

.metasync-guide-title a {
  color: inherit;
  text-decoration: none;
}

.metasync-guide-title a:hover {
  color: var(--color-purple);
}

.metasync-guide-desc {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.metasync-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.metasync-guide-tag {
  font-size: 0.75rem;
  color: var(--color-text-light);
  background: #edf2f7;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.metasync-guide-read-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a202c;
  text-decoration: none;
}

.metasync-guide-read-link:hover {
  color: var(--color-purple);
}

/* ==========================================================================
   Single post (Strategy Hub guide) – hero, two-column, sidebar
   ========================================================================== */
.metasync-single-hero {
  position: relative;
  padding: 2rem 1.5rem 4rem; /* body has padding-top for fixed header */
  background: linear-gradient(180deg, rgba(26, 31, 58, 0.95) 0%, rgba(15, 23, 41, 0.98) 100%);
  overflow: hidden;
}

.metasync-single-hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.metasync-single-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.metasync-single-back {
  display: inline-block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-bottom: 1rem;
}

.metasync-single-back:hover {
  color: #fff;
}

.metasync-single-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.metasync-single-cat {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
}

.metasync-single-cat:first-child {
  background: var(--color-purple);
  color: #fff;
}

.metasync-single-cat:nth-child(2) {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.metasync-single-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.metasync-single-excerpt {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
  line-height: 1.6;
  font-size: 1rem;
}

.metasync-single-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.metasync-single-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.metasync-single-sep {
  opacity: 0.6;
}

.metasync-single-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  padding: 2rem 1.5rem 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .metasync-single-body {
    grid-template-columns: 1fr;
  }
}

.metasync-single-article .entry-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.metasync-single-article .entry-content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.metasync-single-article .entry-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: #1a202c;
}

.metasync-single-article .entry-content ul,
.metasync-single-article .entry-content ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.metasync-single-article .entry-content li {
  margin-bottom: 0.35rem;
}

.metasync-single-article .entry-content p {
  margin: 0 0 1rem;
}

.metasync-single-article .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.metasync-single-article .entry-content th,
.metasync-single-article .entry-content td {
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.metasync-single-article .entry-content th {
  background: #f7fafc;
  font-weight: 600;
  color: #1a202c;
}

/* Sidebar */
.metasync-single-sidebar {
  position: sticky;
  top: 5rem;
}

.metasync-sidebar-cta {
  background: var(--color-purple);
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.metasync-sidebar-cta h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #fff;
}

.metasync-sidebar-cta p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.95;
  line-height: 1.5;
}

.metasync-sidebar-cta .metasync-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  color: #1a202c;
  box-sizing: border-box;
}

.metasync-sidebar-cta .metasync-btn:hover {
  background: #edf2f7;
  color: #1a202c;
}

.metasync-sidebar-share h3,
.metasync-sidebar-related h3 {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: #1a202c;
}

.metasync-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.metasync-share-actions .metasync-share-btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
}

.metasync-share-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.metasync-share-btn:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.metasync-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.metasync-related-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.metasync-related-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.metasync-related-list a {
  font-weight: 600;
  color: #1a202c;
  text-decoration: none;
  font-size: 0.95rem;
}

.metasync-related-list a:hover {
  color: var(--color-purple);
}

.metasync-related-excerpt {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.2rem;
  font-weight: 400;
}

.metasync-related-empty {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ==========================================================================
   Our Team page (slug: team)
   ========================================================================== */
.metasync-team-hero {
  position: relative;
  padding: 2rem 1.5rem 4rem;
  background: linear-gradient(120deg, #2d1b69 0%, #1e3a5f 50%, #0f1729 100%);
  overflow: hidden;
}

.metasync-team-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 50%, rgba(99, 179, 237, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.metasync-team-hero-inner {
  position: relative;
  z-index: 1;
}

.metasync-team-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
}

.metasync-team-subtitle {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42ch;
}

.metasync-team-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.metasync-team-empty {
  text-align: center;
  color: var(--color-text-light);
  padding: 2rem;
}

.metasync-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.metasync-team-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.metasync-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.metasync-team-card-image-wrap {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.metasync-team-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.metasync-team-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
  color: #64748b;
  font-size: 3rem;
  font-weight: 700;
}

.metasync-team-card-body {
  padding: 1.5rem;
  flex: 1;
}

.metasync-team-card-name {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
}

.metasync-team-card-role {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}

.metasync-team-card-bio {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .metasync-team-grid {
    grid-template-columns: 1fr;
  }
}

/* Global mobile: full-width layout, minimal side padding, no whitespace */
@media (max-width: 768px) {
  .metasync-container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .metasync-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .metasync-hero {
    min-height: 70vh;
    padding: 1.5rem 0.75rem 3rem;
  }
  .metasync-section {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
  .metasync-btn,
  .metasync-btn-header,
  .metasync-service-tab {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .metasync-container {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
  .metasync-service-panel-inner,
  .metasync-contact-container {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
  .metasync-services-tabs-wrap {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
}

/* Scroll-triggered fade-up (only when JS has run) */
body.metasync-animations-ready .metasync-section:not(.metasync-in-view) {
  opacity: 0;
  transform: translateY(24px);
}

.metasync-section {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.metasync-animations-ready .metasync-section.metasync-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger service cards and pillar items slightly */
.metasync-animations-ready .metasync-service-card {
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.2s;
}

.metasync-animations-ready .metasync-pillar {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
