/* ==========================================================================
   MEEFRO.COM — PREMIUM DIGITAL AGENCY THEME MAIN STYLESHEET
   Author: Meefro Team
   Version: 1.0.0
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
  --bg-canvas: #F5F5F2;
  --bg-card-light: #FFFFFF;
  --bg-dark: #0D0F11;
  --bg-dark-elevated: #16191D;
  --bg-dark-surface: #1E2228;
  
  --text-dark: #0F1216;
  --text-dark-muted: #5E6573;
  --text-light: #F6F7F9;
  --text-light-muted: #9BA3AF;
  
  --accent: #B4FF39; /* Electric Acid Lime */
  --accent-hover: #9EEA24;
  --accent-glow: rgba(180, 255, 57, 0.22);
  --accent-subtle: rgba(180, 255, 57, 0.08);
  
  --border-light: #E4E4DC;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-hover: rgba(180, 255, 57, 0.4);
  
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.45);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. BASE & RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: inherit;
}

.display-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  color: var(--text-dark-muted);
  max-width: 680px;
  margin-top: 1rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 1rem;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
}

.kicker.dark {
  color: var(--accent);
}
.kicker.dark::before {
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* Layout Utilities & WordPress Core Overrides */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-wrapper, .site-main, #page, #primary {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3.5vw, 2.5rem);
  padding-right: clamp(1.25rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

.section-padding {
  padding-top: clamp(4.5rem, 8vw, 8.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 8.5rem);
  width: 100%;
  box-sizing: border-box;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
  position: relative;
}

.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* 3. BUTTONS & CTAS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #0A0C0E;
  border-color: var(--accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

.btn-dark:hover {
  background-color: #1A1E24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-light);
}

.btn-outline-dark:hover {
  border-color: var(--text-dark);
  background-color: rgba(0, 0, 0, 0.03);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.15);
}

.btn-icon-right {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon-right {
  transform: translateX(4px);
}

/* 4. NAVIGATION BAR & MEGA MENU */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: all var(--transition-smooth);
  background-color: rgba(13, 15, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(13, 15, 17, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF !important;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent);
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #E2E8F0 !important;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

.btn-header-audit {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.btn-header-audit:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 680px;
  background: #161A20 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-smooth);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  z-index: 1050;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(5px);
}

.mega-column-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent) !important;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
  text-decoration: none;
}

.mega-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.mega-item-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-item-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF !important;
}

.mega-item-desc {
  font-size: 0.8125rem;
  color: #94A3B8 !important;
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* Mobile Nav Toggle & Drawer */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #FFFFFF;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 2000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  color: var(--accent);
}

/* 5. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: clamp(8.5rem, 12vw, 11rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
  overflow: hidden;
  background-color: var(--bg-canvas);
  background-image: radial-gradient(circle at 85% 30%, rgba(180, 255, 57, 0.08) 0%, transparent 60%),
                    linear-gradient(180deg, rgba(245, 245, 242, 0.92) 0%, rgba(245, 245, 242, 0.98) 100%),
                    url('../images/meefro-hero-bg.webp');
  background-size: cover;
  background-position: center;
  width: 100%;
}

.page-header-banner {
  position: relative;
  padding-top: clamp(8.5rem, 12vw, 10.5rem);
  padding-bottom: clamp(4rem, 6vw, 5.5rem);
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 80% 20%, rgba(180, 255, 57, 0.12) 0%, transparent 50%),
                    linear-gradient(180deg, rgba(13, 15, 17, 0.78) 0%, rgba(13, 15, 17, 0.96) 100%),
                    url('../images/meefro-hero-bg.webp');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem 0.375rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

/* Digital Operating System Canvas Container */
.hero-visual-card {
  position: relative;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 480px;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

#digital-system-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-overlay-content {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(22, 25, 29, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.canvas-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 600;
}

/* 6. TRUST & POSITIONING PILLARS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--text-dark);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-dark-muted);
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-dark-muted);
}

/* 7. SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  text-decoration: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-dark-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  background: var(--accent);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--bg-dark-surface);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-number {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
}

.service-card-title {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 0.9375rem;
  color: var(--text-light-muted);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-dark);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

/* 8. FEATURED CASE STUDIES */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}

.work-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--text-dark);
}

.work-card-media {
  height: 280px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-badge-concept {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(13, 15, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 5;
}

.work-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-industry-tag {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.work-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.875rem;
}

.work-challenge-box {
  background: var(--bg-canvas);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.work-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: #EAEAE4;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

/* 9. HONEST CAPABILITY METRICS */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-top: 4rem;
}

.metric-box {
  text-align: center;
  border-right: 1px solid var(--border-dark);
  padding: 0 1rem;
}

.metric-box:last-child {
  border-right: none;
}

.metric-highlight {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.metric-sub {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

/* 10. INDUSTRY MATRIX */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.industry-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-dark);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.industry-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.industry-challenge {
  font-size: 0.875rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* 11. PROCESS TIMELINE */
.process-steps-wrap {
  position: relative;
  margin-top: 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.process-step-card {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.process-step-card:hover {
  border-color: var(--accent);
  background: var(--bg-dark-surface);
}

.step-num-badge {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

.step-card-title {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.step-card-desc {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  line-height: 1.45;
}

/* 12. WHY MEEFRO PRINCIPLES */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.principle-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
}

.principle-card:hover {
  border-color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.principle-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-dark-muted);
  margin-bottom: 1.25rem;
}

.principle-title {
  font-size: 1.3rem;
  margin-bottom: 0.625rem;
}

.principle-desc {
  font-size: 0.9375rem;
  color: var(--text-dark-muted);
}

/* 13. AI WORKFLOW SIMULATOR ENGINE */
.workflow-box {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-dark);
}

.workflow-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 1.5rem 0;
}

.pipeline-node {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  min-width: 145px;
  flex: 1;
  position: relative;
  transition: all var(--transition-smooth);
}

.pipeline-node.active, .pipeline-node:hover {
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
  transform: scale(1.03);
}

.node-icon-circle {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.node-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.node-sub {
  font-size: 0.7rem;
  color: var(--text-light-muted);
}

.pipeline-connector {
  color: var(--accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 14. "FIND YOUR GROWTH GAP" INTERACTIVE TOOL */
.growth-gap-widget {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-dark);
  color: var(--text-light);
}

.quiz-step-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.progress-bar-seg {
  height: 4px;
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  transition: background var(--transition-smooth);
}

.progress-bar-seg.completed {
  background: var(--accent);
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.quiz-option-btn {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.quiz-option-btn:hover, .quiz-option-btn.selected {
  border-color: var(--accent);
  background: var(--bg-dark-surface);
  transform: translateY(-2px);
}

.quiz-option-btn.selected {
  box-shadow: 0 0 16px var(--accent-glow);
}

.quiz-result-box {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark-hover);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 15. FAQ ACCORDION */
.faq-grid {
  max-width: 900px;
  margin: 3.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--text-dark);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--text-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer-panel {
  max-height: 350px;
  padding-bottom: 1.5rem;
}

.faq-chevron {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* 16. LEAD MAGNET & AUDIT BANNER */
.audit-banner-box {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.audit-form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 620px;
}

.audit-input {
  flex: 1;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  padding: 0.875rem 1.5rem;
  color: var(--text-light);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.audit-input:focus {
  border-color: var(--accent);
}

/* 17. FINAL CTA */
.final-cta-section {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.cta-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(13, 15, 17, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* 18. FOOTER */
.site-footer {
  background: #080A0C;
  color: var(--text-light);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-light-muted);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

/* 19. POPUP MODALS */
.meefro-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.meefro-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.meefro-modal-dialog {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-dark);
  color: var(--text-light);
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
}

.meefro-modal-backdrop.active .meefro-modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--text-light);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-light);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.service-deep-card, .process-deep-card {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.single-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.audit-form-inline {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.audit-input {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  color: var(--text-light);
  font-size: 0.9375rem;
  outline: none;
  box-sizing: border-box;
}

.footer-social-btn:hover {
  background: var(--accent) !important;
  color: #0D0F11 !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.work-card:hover .work-mockup-img {
  transform: scale(1.04);
}

/* 20. RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .pillars-grid, .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .service-deep-card, .process-deep-card, .contact-split-grid, .about-split-grid, .single-split-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .insights-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 860px) {
  .nav-desktop, .btn-header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual-card {
    height: 340px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid, .services-grid, .principles-grid, .industry-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .metric-box {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .pillar-card {
    padding: 1.5rem 1.25rem !important;
  }
  .form-row-2col {
    grid-template-columns: 1fr !important;
  }
  .audit-form-inline {
    flex-direction: column !important;
  }
  .audit-input {
    width: 100% !important;
  }
  .audit-form-inline button {
    width: 100% !important;
  }
  .metrics-strip {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .meefro-modal-dialog {
    padding: 1.5rem !important;
    width: 94% !important;
    margin: 1rem auto;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

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